[Pkg-mozext-commits] [compactheader] 307/441: Merged in version selection option in executeTests.pl
David Prévot
taffit at moszumanska.debian.org
Wed Mar 18 12:29:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository compactheader.
commit e177d4633651023d7eaa0e326b11dbe5bd3b603c
Author: joachim <none at none>
Date: Tue Nov 15 23:12:54 2011 +0100
Merged in version selection option in executeTests.pl
---
test/executeTests.pl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/test/executeTests.pl b/test/executeTests.pl
index ad5adbe..889c0a2 100644
--- a/test/executeTests.pl
+++ b/test/executeTests.pl
@@ -42,6 +42,7 @@ use warnings;
use File::Copy;
use POSIX;
use Cwd;
+use Getopt::Long;
my $file = 'testapps.csv';
my $xpiversion = `grep 'version>' ../install.rdf | sed -e 's/.*version>\\(.*\\)<\\/em.*/\\1/'`;
@@ -55,6 +56,10 @@ my ($ostype,$hosttype,$version,$ftppath,$app,$tests,$lightning,$checksum);
my ($unpack, $unpackargs, $unpacktargetargs, $appbin, $virtualpython);
my ($sysname, $nodename, $release, $osversion, $machine) = POSIX::uname();
+my ($testversion);
+
+GetOptions('version:s' => \$testversion);
+
open (F, $file) || die ("Could not open $file!");
mkdir "$ftpdir";
@@ -111,6 +116,8 @@ while (my $line = <F>)
$file =~ /thunderbird-(.*)$checksum/;
$version = $1;
+
+ next if (($testversion) && ($version ne $testversion));
# next if ($version lt "9.0");
# $ftppath =~ s/_VER_/${version}/g;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/compactheader.git
More information about the Pkg-mozext-commits
mailing list