aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-02-17 17:56:08 +0000
committerRomain d'Alverny <rda@mageia.org>2012-02-17 17:56:08 +0000
commite4886dfb70ae35779fc47e8f0a74941550c414f7 (patch)
tree25f3e5a774b386d623c36dca188cd9b9f107300b
parentdeb9713857f8f47cf392df14b4d7fd6af0bbb395 (diff)
downloadisocheck-e4886dfb70ae35779fc47e8f0a74941550c414f7.tar
isocheck-e4886dfb70ae35779fc47e8f0a74941550c414f7.tar.gz
isocheck-e4886dfb70ae35779fc47e8f0a74941550c414f7.tar.bz2
isocheck-e4886dfb70ae35779fc47e8f0a74941550c414f7.tar.xz
isocheck-e4886dfb70ae35779fc47e8f0a74941550c414f7.zip
Use Isocheck; tests moved
-rw-r--r--test_iso.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/test_iso.pl b/test_iso.pl
index caacbaf..446b5ad 100644
--- a/test_iso.pl
+++ b/test_iso.pl
@@ -24,7 +24,7 @@ use 5.010;
use MDK::Common;
use TAP::Harness;
use TAP::Parser::Aggregator;
-use Tools;
+use Isocheck;
my ($image_path) = @ARGV;
@@ -53,16 +53,16 @@ print "# Host\t\t: ", `uname -n`;
my $aggregator = TAP::Parser::Aggregator->new;
$aggregator->start;
-$harness->aggregate_tests($aggregator, glob('t/*.t'));
+$harness->aggregate_tests($aggregator, glob('image_tests/*.t'));
-my $name = basename($image_path);
-my %info = Tools::parse_mageia_iso_name($name);
+my $name = basename($image_path);
+my %info = Isocheck::parse_image_file_name($name);
my @testfiles;
if ($info{variant} =~ /^LiveCD/) {
- @testfiles = glob('t_live_iso/*.t');
+ @testfiles = glob('image_tests/live_iso/*.t');
} else {
- @testfiles = glob('t_install_iso/*.t');
+ @testfiles = glob('image_tests/install_iso/*.t');
}
if (@testfiles) {