Bug#692282: [new check] debian/tests/control but not (XS-)Testsuite: autopkgtest header in debian/control
> Please see test.log.
Sorry, I did not detect these problems because I test with 2.5.11 and
--root option.
Three pedantic messages were not reported, I copied similar options
from another test to "t/tests/testsuite-general/desc" to unmask them.
Path "debian/tests/fifo" is reported missing instead of non regular. I
guess that it will be created once
"t/tests/testsuite-general/pre_build" is marked executable.
But I fail to understand the third problem.
File "t/tests/testsuite-general/debian/debian/tests/control"
contains the line "Tests: fifo missing-test under_score"
and script "checks/testsuite"
reads it with "for (split ' ', $paragraph->{'tests'})"
so "under_score" should be checked after "fifo" and "missing-test".
The execution order is correct on my machine, but no in your test.log.
Any clue?
diff --git a/t/tests/testsuite-general/desc b/t/tests/testsuite-general/desc
index 31f80b7..1f12cae 100644
--- a/t/tests/testsuite-general/desc
+++ b/t/tests/testsuite-general/desc
@@ -2,6 +2,8 @@ Testname: testsuite-general
Sequence: 6000
Version: 1.0
Description: General tests of the autopkgtest control file
+Options: -I -E --pedantic
+Skeleton: pedantic
Test-For:
debian-tests-control-uses-national-encoding
illegal-runtime-test-name
diff --git a/t/tests/testsuite-general/pre_build b/t/tests/testsuite-general/pre_build
old mode 100644
new mode 100755
Reply to: