old-benchmark-code/Makefile

30 lines
842 B
Makefile

DATESTAMP := $(shell date -u +%Y.%m%d.%H%M)
all:
@echo try:
@echo make prep
@echo make screen
local:
mkdir $(DATESTAMP)
inventory/inventory.sh $(DATESTAMP)
cd cpu; make
prep:
git update-server-info
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH scp loadbot/prep.pl BLAH:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH ./prep.pl
pull:
git update-server-info
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "cd benchmarks; git pull"
screen:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "screen -d -m -S loadbot -c /root/benchmarks/screenrc"
killall:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "killall screen"
logs:
cat loadbot/testservers |xargs --verbose -n 1 --replace=BLAH ssh BLAH "uname -r; cat loadbot.0"