mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-14 13:26:24 +00:00
tests: exit with -1 in case of failures
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
dd32a4664f
commit
1c4afc63cd
@ -6,5 +6,6 @@ use warnings;
|
|||||||
use TAP::Harness;
|
use TAP::Harness;
|
||||||
|
|
||||||
my $harness = TAP::Harness->new( { "verbosity" => -2 });
|
my $harness = TAP::Harness->new( { "verbosity" => -2 });
|
||||||
$harness->runtests( "snapshot-test.pm");
|
my $res = $harness->runtests( "snapshot-test.pm");
|
||||||
system( "rm -rf snapshot-working/");
|
system( "rm -rf snapshot-working/");
|
||||||
|
exit -1 if $res->{failed};
|
||||||
|
Loading…
Reference in New Issue
Block a user