diff --git a/Makefile b/Makefile index f6e4425..a1fbca2 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,6 @@ all: prep: cat loadbot/testservers |xargs -n 1 --replace=BLAH scp loadbot/prep.pl BLAH: cat loadbot/testservers |xargs -n 1 --replace=BLAH ssh BLAH ./prep.pl + +screen: + cat loadbot/testservers |xargs -n 1 --replace=BLAH ssh BLAH "screen -d -m -S loadbot /root/benchmarks/doit.sh" diff --git a/doit.sh b/doit.sh new file mode 100755 index 0000000..74f9d28 --- /dev/null +++ b/doit.sh @@ -0,0 +1,3 @@ +cd /root/benchmarks +make +bash diff --git a/loadbot/prep.pl b/loadbot/prep.pl index 7bdb8e7..2658faf 100755 --- a/loadbot/prep.pl +++ b/loadbot/prep.pl @@ -45,4 +45,10 @@ if ($return eq "-1") { system "ifconfig"; } -my $return = system("git clone http://github.com/basilarchia/benchmarks.git"); +if ( ! -e "benchmarks") { + my $return = system("git clone http://69.55.54.144/benchmarks/.git/"); +} else { + chdir "benchmarks"; + my $return = system("git pull"); +} +