Bug#946461: Tests are failing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#946461: Tests are failing

Sebastien Bacher-2

Package: libscout
Version: 2.3.2-2

The autopkgtests are failing since the recent upload
https://ci.debian.net/data/packages/unstable/amd64/libs/libscout/latest-autopkgtest/log.gz

Some issues

* debian/test/control:

The use of "Test-Command" is invalid, it should be "Tests" instead now that it's a script

* debian/test/run-tests.sh

- the set -x makes it print on stderr which is failing the tests

- "if ! libscout; then" is retuning an error/text on stdout since the syntax is invalid, the libscout binary expect a -o argument


Unsure what the test is checking by calling the binary with an invalid syntax? the command seems to just print out the help in that case, is that useful output?

Cheers,

Reply | Threaded
Open this post in threaded view
|

Bug#946461: [Android-tools-devel] Bug#946461: Tests are failing

Hans-Christoph Steiner-2

IIRC, it should be a smoke check.  Please fix as needed.  A real test
would be even better.

.hc

Sebastien Bacher:

> Package: libscout
> Version: 2.3.2-2
>
> The autopkgtests are failing since the recent upload
> https://ci.debian.net/data/packages/unstable/amd64/libs/libscout/latest-autopkgtest/log.gz
>
> Some issues
>
> * debian/test/control:
>
> The use of "Test-Command" is invalid, it should be "Tests" instead now
> that it's a script
>
> * debian/test/run-tests.sh
>
> - the set -x makes it print on stderr which is failing the tests
>
> - "if ! libscout; then" is retuning an error/text on stdout since the
> syntax is invalid, the libscout binary expect a -o argument
>
>
> Unsure what the test is checking by calling the binary with an invalid
> syntax? the command seems to just print out the help in that case, is
> that useful output?
>
> Cheers,
>
>
>
> _______________________________________________
> Android-tools-devel mailing list
> [hidden email]
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/android-tools-devel
>

Reply | Threaded
Open this post in threaded view
|

Bug#946461: [Android-tools-devel] Bug#946461: Tests are failing

Sebastien Bacher-2
Le 17/12/2019 à 21:50, Hans-Christoph Steiner a écrit :
> IIRC, it should be a smoke check.  Please fix as needed.  A real test
> would be even better.
>
> .hc

Unsure what you mean by 'fix as needed'?

Cheers,