Sfoglia il codice sorgente

Test runner cleanup

Taddeus Kroes 12 anni fa
parent
commit
eb9251e76d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      test/run.bash

+ 2 - 1
test/run.bash

@@ -3,6 +3,7 @@ CIVAS=${CIVAS-../bin32/civas}
 CIVVM=${CIVVM-../bin32/civvm}
 CIVCC=${CIVCC-../bin/civicc}
 CFLAGS=${CFLAGS-}
+RUN_FUNCTIONAL=${RUN_FUNCTIONAL-1}
 
 ALIGN=52
 
@@ -146,7 +147,7 @@ function run_dir {
         check_return $f 1
     done
 
-    if [ ${RUN_FUNCTIONAL-1} -eq 1 ]; then
+    if [ $RUN_FUNCTIONAL -eq 1 ]; then
         for f in $BASE/functional/*.cvc; do
             check_output $f
         done