2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-02 17:02:17 +00:00

test(xcat-core): two more tests this branch touches stop the whole suite

genesis_openembedded_console.t and xcat_probe_package_payload.t still
called BAIL_OUT for a missing fixture. prove stops every remaining file
on a bail-out, so one of them hides the results of the tests that would
have run after it. Every test file this branch touches now uses die.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
Daniel Hilst
2026-09-14 08:33:10 -03:00
parent 5bbc2377b4
commit 165c99ce2b
2 changed files with 2 additions and 2 deletions
@@ -31,7 +31,7 @@ is(
) >> 8,
0,
'plain console builds with strict warnings'
) or BAIL_OUT('unable to build the console test binary');
) or die('unable to build the console test binary');
sub write_file {
my ( $path, $contents ) = @_;
+1 -1
View File
@@ -138,7 +138,7 @@ sub copy_tree {
my ($source, $destination) = @_;
my $rc = system('cp', '-R', $source, $destination);
is($rc, 0, "copied $source into the package fixture")
or BAIL_OUT("unable to create package fixture from $source");
or die("unable to create package fixture from $source");
}
sub run_command {