Re: Java packages and autopkgtest

2020-12-07 Thread Andrius Merkys
Hello, On 2020-12-07 18:52, Thorsten Glaser wrote: > On Tue, 8 Dec 2020, Roger Shimizu wrote: > >> do you have any suggestion on such case, the autopkgtest for java or >> just maven library pkg? > > Sorry but really none. Those packages I’ve seen so far only worked > because they disabled the

Re: Java packages and autopkgtest

2020-12-07 Thread Thorsten Glaser
On Tue, 8 Dec 2020, Roger Shimizu wrote: > do you have any suggestion on such case, the autopkgtest for java or > just maven library pkg? Sorry but really none. Those packages I’ve seen so far only worked because they disabled the tests anyway (mostly because the tests would have required tons

Re: Java packages and autopkgtest

2020-12-07 Thread Roger Shimizu
On Sun, Dec 6, 2020 at 4:39 AM Thorsten Glaser wrote: > > On Sun, 6 Dec 2020, Roger Shimizu wrote: > > > Yes, so my script doesn't include "dh_auto_build". > > But that’s not the only thing that builds. “mvn test” builds first. now understood the point you meant. do you have any suggestion on

Re: Java packages and autopkgtest

2020-12-05 Thread Paul Wise
On Sat, Dec 5, 2020 at 6:45 PM Thorsten Glaser wrote: > We probably should let maven-debian-helper’s dh module > abort any building (dh_auto_{build,test}) if run under > autopkgtests to enforce this. I'd suggest to start with a lintian warning about this and maybe when there are fewer packages

Re: Java packages and autopkgtest

2020-12-05 Thread Thorsten Glaser
On Sun, 6 Dec 2020, Roger Shimizu wrote: > Yes, so my script doesn't include "dh_auto_build". But that’s not the only thing that builds. “mvn test” builds first. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49

Re: Java packages and autopkgtest

2020-12-05 Thread Roger Shimizu
On Sun, Dec 6, 2020 at 3:45 AM Thorsten Glaser 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

Re: Java packages and autopkgtest

2020-12-05 Thread Roger Shimizu
On Sun, Dec 6, 2020 at 3:03 AM Thorsten Glaser wrote: > > On Sun, 6 Dec 2020, Roger Shimizu wrote: > > > I find java packages with maven-debian-helper can be tested by: > > > > > > Test-Command: dh_auto_configure; dh_auto_test > > > Doesn’t

Re: Java packages and autopkgtest

2020-12-05 Thread Thorsten Glaser
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(@_,

Re: Java packages and autopkgtest

2020-12-05 Thread Thorsten Glaser
On Sat, 5 Dec 2020, Pirate Praveen wrote: > Though it can still be useful when dependencies change (that is another use Yes, but this completely does not fit the autopkgtests definition. bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49

Re: Java packages and autopkgtest

2020-12-05 Thread Pirate Praveen
On Sat, Dec 5, 2020 at 18:56, Thorsten Glaser wrote: On Sun, 6 Dec 2020, Roger Shimizu wrote: I find java packages with maven-debian-helper can be tested by: Test-Command: dh_auto_configure; dh_auto_test Doesn’t this just call mvn

Re: Java packages and autopkgtest

2020-12-05 Thread Thorsten Glaser
On Sun, 6 Dec 2020, Roger Shimizu wrote: > I find java packages with maven-debian-helper can be tested by: > > > Test-Command: dh_auto_configure; dh_auto_test Doesn’t this just call mvn test ? If so, that’s not as-installed testing and as

Re: Java packages and autopkgtest

2020-12-05 Thread Roger Shimizu
Replying to the email from 2019... > Java Team's page [1] states that some help/information is needed > regarding the autopkgtest. I haven't seen much Java packages having > autopkgtests, but to me it seems possible at least for packages using > maven-debian-helper. Maybe there are gotchas that I

Java packages and autopkgtest

2019-10-09 Thread merkys
Hello, Java Team's page [1] states that some help/information is needed regarding the autopkgtest. I haven't seen much Java packages having autopkgtests, but to me it seems possible at least for packages using maven-debian-helper. Maybe there are gotchas that I am not aware of? Workflow of an