From e4886dfb70ae35779fc47e8f0a74941550c414f7 Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Fri, 17 Feb 2012 17:56:08 +0000 Subject: Use Isocheck; tests moved --- test_iso.pl | 12 ++++++------ 1 file 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) { -- cgit v1.2.1