latest cutest revision

This commit is contained in:
Enno Rehling 2014-04-11 09:50:12 -07:00
parent b769be0f60
commit bcc116825b
2 changed files with 20 additions and 1 deletions

2
cutest

@ -1 +1 @@
Subproject commit d83cec09a52835274ab8ed4849de16fb8658982a
Subproject commit 788659594ef87e9f497b8039da764182adfd2943

19
s/build Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
ROOT=$(pwd)
while [ ! -d $ROOT/.git ]; do
ROOT=$(dirname $ROOT)
done
[ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc"
[ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc"
[ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc"
MACHINE=`uname -m`
BIN_DIR="build-$MACHINE-$CC-Debug"
if [ ! -d $ROOT/$BIN_DIR ]; then
echo "cannot find build directory $BIN_DIR in $ROOT. did you run cmake-init?"
exit
fi
cd $ROOT/$BIN_DIR
make && make test
cd -