build/testme: remove -j4 parameter

This commit is contained in:
Steffen Jaeckel 2013-03-15 11:08:54 +01:00
parent 2b2f5de743
commit d84af284a3
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
echo "$1 ($2, $3)..."
make clean 1>/dev/null 2>/dev/null
echo -n "building..."
CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" make -j4 -f $3 test tv_gen 1>gcc_1.txt 2>gcc_2.txt || (echo "build $1 failed see gcc_2.txt for more information" && cat gcc_2.txt && exit 1)
CFLAGS="$2 $CFLAGS $4" EXTRALIBS="$5" make -f $3 test tv_gen 1>gcc_1.txt 2>gcc_2.txt || (echo "build $1 failed see gcc_2.txt for more information" && cat gcc_2.txt && exit 1)
echo -n "testing..."
if [ -a test ] && [ -f test ] && [ -x test ]; then
((./test >test_std.txt 2>test_err.txt && ./tv_gen > tv.txt) && echo "$1 test passed." && echo "y" > testok.txt) || (echo "$1 test failed, look at test_err.txt" && exit 1)

View File

@ -2,8 +2,8 @@
if [ $# -lt 3 ]
then
echo "usage is: ${0##*/} <which makefile> <additional defines> <path to math provider>"
echo "e.g. \"${0##*/} makefile \"-DUSE_LTM -DLTM_DESC -I/path/to/libtommath\" /path/to/libtommath/libtommath.a\""
echo "usage is: ${0##*/} <which makefile and other make options> <additional defines> <path to math provider>"
echo "e.g. \"${0##*/} \"makefile -j3\" \"-DUSE_LTM -DLTM_DESC -I/path/to/libtommath\" /path/to/libtommath/libtommath.a\""
exit -1
fi