mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-09-12 12:36:23 +00:00
fix(xcat-dep): the new control-file test ran after done_testing
The architecture-coverage block was appended at the end of t/sbuild-all.t, past done_testing. Test::More had already declared the plan, so the run ended with "planned 194 tests but ran 197" and the three assertions counted for nothing. Move the block above done_testing. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
committed by
Vinícius Ferrão
parent
18a2fccba1
commit
341f4650ab
+2
-2
@@ -619,8 +619,6 @@ STUB
|
||||
'missing_perl_modules: an absent module is reported');
|
||||
}
|
||||
|
||||
done_testing;
|
||||
|
||||
# ---- every compiled dep must be buildable on every architecture xcat-dep supports -------------
|
||||
# A debian/control that names architectures explicitly silently excludes the ones it omits:
|
||||
# debhelper prints "No packages to build. Possible architecture mismatch: <arch>, want: <list>",
|
||||
@@ -647,3 +645,5 @@ done_testing;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
done_testing;
|
||||
|
||||
Reference in New Issue
Block a user