Page MenuHomeHEPForge

README
No OneTemporary

#=======================================================
#Copyright 2016 Dr. Johannes Bellm and Dr. Holger Schulz
#=======================================================
buildbot stop master
#rm -rf /scratch/jo_local/
rm -rf /scratch/test-hg*
rm -rf master/
kill $(ps aux |grep buildslave|cut -d" " -f3)
CTF=/home/osboxes/crash-test/crashtest
CUR=$(pwd)
#sudo apt-get install openssh-client
#sudo apt-get install openssh-server
#cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
#sudo mkdir /scratch
#sudo chmod o+w /scratch
#sudo chmod u+w /scratch
rm -rf /scratch/test-hg1
mkdir /scratch/test-hg1
cd /scratch/test-hg1
hg init
printf "#include <iostream>\nint main(){std::cout<<\"Hello hg1!\";}" > hello.cc
printf "all:\n\tg++ hello.cc">Makefile
mkdir Test
printf "testLEP:\n\t../a.out > res.dat">Test/Makefile
hg add hello.cc Makefile Test/Makefile
hg commit --config ui.username=hgtester -m "first commit"
rm -rf /scratch/test-hg2
mkdir /scratch/test-hg2
cd /scratch/test-hg2
hg init
printf "#include <iostream>\nint main(){std::cout<<\"Hello hg2!\";}" > hello.cc
printf "all:\n\tg++ hello.cc">Makefile
mkdir Test
printf "testLEP:\n\t../a.out > res.dat">Test/Makefile
hg add hello.cc Makefile Test/Makefile
hg commit --config ui.username=hgtester -m "first commit"
cd $CUR
mkdir RESULTS
cd RESULTS
cd $CUR
buildbot create-master master
cp $CTF/master.py master/master.cfg
cp $CTF/helper.py master/helper.py
cp -r $CTF/tests master/
cp -r $CTF/setup master/
buildbot start master
sh master/createSlaves.sh
sh master/restartSlaves.sh
firefox http://localhost:8433

File Metadata

Mime Type
text/x-c
Expires
Mon, Jan 20, 11:37 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4242941
Default Alt Text
README (1 KB)

Event Timeline