Browse Source

build/testme: remove -j4 parameter

Steffen Jaeckel 12 years ago
parent
commit
d84af284a3
2 changed files with 3 additions and 3 deletions
  1. 1 1
      build.sh
  2. 2 2
      testme.sh

+ 1 - 1
build.sh

@@ -2,7 +2,7 @@
 echo "$1 ($2, $3)..."
 echo "$1 ($2, $3)..."
 make clean 1>/dev/null 2>/dev/null
 make clean 1>/dev/null 2>/dev/null
 echo -n "building..."
 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..."
 echo -n "testing..."
 if [ -a test ] && [ -f test ] && [ -x test ]; then
 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)
    ((./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)

+ 2 - 2
testme.sh

@@ -2,8 +2,8 @@
 
 
 if [ $# -lt 3 ]
 if [ $# -lt 3 ]
 then
 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
   exit -1
 fi
 fi