From: Kartik Thakore Date: Sat, 31 Oct 2009 20:31:39 +0000 (-0400) Subject: [Smolder Tools] Gets platform and architecture automatically. Also can give git branc... X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=220633dbf9bddd27b9b61f4651a79d754716e010;hp=6c315353155a6a779fc1797009d66ec9ffe8e800;p=sdlgit%2FSDL_perl.git [Smolder Tools] Gets platform and architecture automatically. Also can give git branch as paramater to update before test. prove merges stdout with stderr --- diff --git a/tools/smokeNsend.pl b/tools/smokeNsend.pl index ff189d6..0a20e95 100755 --- a/tools/smokeNsend.pl +++ b/tools/smokeNsend.pl @@ -1,5 +1,6 @@ #!perl # -die "Usage: username password architecture [extra options for smolder_smoke_signal]. \n Found @ARGV args" if $#ARGV < 2; -system split ' ', 'prove -l -b --archive sdl.tar.gz'; -system split ' ', "tools/smolder_smoke_signal smolder_smoke_signal --server sdlperl.ath.cx:8080 --username $ARGV[0] --password $ARGV[1] --file sdl.tar.gz --project SDL --architecture $ARGV[2] $ARGV[3]"; +die "Usage: username password [git-branch] [extra options for smolder_smoke_signal]. \n Found @ARGV args" if $#ARGV < 1; +system split ' ', "git pull origin $ARGV[2]" if $ARGV[2]; +system split ' ', 'prove -l -b --merge --archive sdl.tar.gz'; +system split ' ', "tools/smolder_smoke_signal smolder_smoke_signal --server sdlperl.ath.cx:8080 --username $ARGV[0] --password $ARGV[1] --file sdl.tar.gz --project SDL --architecture $] --platform $^O $ARGV[3]";