Browse Source

R13 fixes: ULib's benchmark meta-data json test

stefanocasazza 8 years ago
parent
commit
7b16ec512d
1 changed files with 4 additions and 2 deletions
  1. 4 2
      frameworks/C++/ulib/setup_json.sh

+ 4 - 2
frameworks/C++/ulib/setup_json.sh

@@ -2,8 +2,10 @@
 
 fw_depends ulib
 
-# Travis is really broken!!
-if [ "$TRAVIS" == "true" ]; then
+# Travis is broken
+if [ "$TRAVIS" != "true" ]; then
+MAX_THREADS=$(( 3 * $MAX_THREADS / 2 ))
+else
 MAX_THREADS=$(( 2 * $MAX_THREADS ))
 fi