mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-02-02 09:47:13 +03: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;
|
||||
|
||||
my $harness = TAP::Harness->new( { "verbosity" => -2 });
|
||||
$harness->runtests( "snapshot-test.pm");
|
||||
my $res = $harness->runtests( "snapshot-test.pm");
|
||||
system( "rm -rf snapshot-working/");
|
||||
exit -1 if $res->{failed};
|
||||
|
Loading…
x
Reference in New Issue
Block a user