separate packaging and source build system

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2023-05-24 16:20:27 +02:00
parent f5e87de606
commit a2242b41fc
213 changed files with 66 additions and 47 deletions

22
src/test/run_plugin_tests.pl Executable file
View File

@ -0,0 +1,22 @@
#!/usr/bin/perl
use strict;
use warnings;
# to ensure consistent ctime values on all systems
$ENV{TZ} = 'UTC';
use TAP::Harness;
my $harness = TAP::Harness->new( { verbosity => -1 });
my $res = $harness->runtests(
"archive_info_test.pm",
"parse_volname_test.pm",
"list_volumes_test.pm",
"path_to_volume_id_test.pm",
"get_subdir_test.pm",
"filesystem_path_test.pm",
"prune_backups_test.pm",
);
exit -1 if !$res || $res->{failed} || $res->{parse_errors};