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:
@@ -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 ) = @_;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user