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


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

Re: Java packages and autopkgtest

From Thorsten Glaser <t.glaser@tarent.de>
Newsgroups linux.debian.maint.java
Subject Re: Java packages and autopkgtest
Date 2020-12-05 19:50 +0100
Message-ID <BiKN3-7Rc-5@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>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Packages using this are buggy. Unsure about the severity,
probably not rc.

We probably should let maven-debian-helper’s dh module
abort any building (dh_auto_{build,test}) if run under
autopkgtests to enforce this.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit unserem Consulting bieten wir Unternehmen maßgeschneiderte Angebote in
Form von Beratung, Trainings sowie Workshops in den Bereichen
Softwaretechnologie, IT Strategie und Architektur, Innovation und Umsetzung
sowie Agile Organisation.

Besuchen Sie uns auf https://www.tarent.de/consulting .
Wir freuen uns auf Ihren Kontakt.

*************************************************

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