Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F8724545
README
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
README
View Options
#=======================================================
#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
Details
Attached
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)
Attached To
rCRASHTESTHG crashtesthg
Event Timeline
Log In to Comment