Skip to content

Instantly share code, notes, and snippets.

@beeradmoore
Created June 13, 2015 09:26
Show Gist options
  • Save beeradmoore/9fdf3966a1198f3d1ee8 to your computer and use it in GitHub Desktop.
Save beeradmoore/9fdf3966a1198f3d1ee8 to your computer and use it in GitHub Desktop.
#!/bin/sh
CORES=$1
HT=""
if [ -n "$2" ]; then
HT="ht"
else
HT=""
fi
date >> "test_${CORES}_${HT}"
for i in `seq 1 10`;
do
rm -rf build/
echo "\nTest ${i}" >> "test_${CORES}_${HT}"
{ time ./build.sh ; } 2>> "test_${CORES}_${HT}"
sleep 30
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment