mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-02-26 21:57:31 +03:00
tests: improve error handling of run_disk_tests
if Diskmanage.pm has a syntax error, this will now catch it during build Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
c86ba76db7
commit
b12883ded1
@ -8,5 +8,5 @@ use TAP::Harness;
|
||||
my $harness = TAP::Harness->new( { verbosity => -2 });
|
||||
my $res = $harness->runtests( "disklist_test.pm" );
|
||||
|
||||
exit -1 if $res->{failed};
|
||||
exit -1 if !$res || $res->{failed} || $res->{parse_errors};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user