Explorar o código

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

stefanocasazza %!s(int64=8) %!d(string=hai) anos
pai
achega
7b16ec512d
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  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