Created
June 18, 2017 12:48
-
-
Save satoru-takeuchi/23afbf565c2d97c3ef16e5d46d11f5bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export LANG=C | |
if [ $# -ge 1 ] ; then | |
CONCURRENCY=$1 | |
else | |
CONCURRENCY=16 | |
fi | |
for ((i=0;1;i++)) ; do | |
if make -j$CONCURRENCY >/dev/null 2>>log.txt ; then | |
echo "$i: $(date): OK" >>log.txt | |
else | |
echo "$i: $(date): NG" >>log.txt | |
fi | |
dmesg >dmesg.txt | |
make clean >/dev/null 2>>log.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment