Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11958

Re: Java packages and autopkgtest

From Roger Shimizu <rosh@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Java packages and autopkgtest
Date 2020-12-05 20:20 +0100
Message-ID <BiLg5-8gl-3@gated-at.bofh.it> (permalink)
References <BiJR0-7hU-27@gated-at.bofh.it> <BiK0F-7lA-3@gated-at.bofh.it> <BiKN3-7Rc-7@gated-at.bofh.it> <BiKN3-7Rc-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Dec 6, 2020 at 3:45 AM Thorsten Glaser <t.glaser@tarent.de> wrote:
>
> On Sun, 6 Dec 2020, Roger Shimizu wrote:
>
> > I think dh_auto_configure prepares the environment, and real test is
> > performed by dh_auto_test.
>
> I think so, you think so, ok, let’s check.
>
>         sub test {
>                 my $this=shift;
>                 if (!@_) {
>                         push(@_, "test");
>                 }
>                 $this->doit_in_builddir(@{$this->{maven_cmd}}, @_);
>         }
>
> Yes, it does “mvn test”.
>
> > If the package is java library, the test is sufficient for autopkgtest.
>
> This “test” is *absolutely n̲o̲t̲* qualifying as autopkgtest
> because autopkgtests are all about *as-installed* package
> testing, and “mvn test” will locally rebuild then test that.

Yes, so my script doesn't include "dh_auto_build".
It only tests the installed package built by buildd, so it depends on "@".
Anyway, the test code needs to be built.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Java packages and autopkgtest Roger Shimizu <rosh@debian.org> - 2020-12-05 18:50 +0100
  Re: Java packages and autopkgtest Thorsten Glaser <t.glaser@tarent.de> - 2020-12-05 19:00 +0100
    Re: Java packages and autopkgtest Thorsten Glaser <t.glaser@tarent.de> - 2020-12-05 19:30 +0100
    Re: Java packages and autopkgtest Pirate Praveen <praveen@onenetbeyond.org> - 2020-12-05 19:30 +0100
    Re: Java packages and autopkgtest Thorsten Glaser <t.glaser@tarent.de> - 2020-12-05 19:50 +0100
      Re: Java packages and autopkgtest Roger Shimizu <rosh@debian.org> - 2020-12-05 20:20 +0100
        Re: Java packages and autopkgtest Thorsten Glaser <t.glaser@tarent.de> - 2020-12-05 20:40 +0100
          Re: Java packages and autopkgtest Roger Shimizu <rosh@debian.org> - 2020-12-07 17:40 +0100
            Re: Java packages and autopkgtest Thorsten Glaser <t.glaser@tarent.de> - 2020-12-07 18:00 +0100
              Re: Java packages and autopkgtest Andrius Merkys <merkys@debian.org> - 2020-12-07 19:00 +0100
      Re: Java packages and autopkgtest Paul Wise <pabs@debian.org> - 2020-12-06 04:20 +0100
    Re: Java packages and autopkgtest Roger Shimizu <rosh@debian.org> - 2020-12-05 20:00 +0100

csiph-web