Преглед на файлове

Redirect compiler output in combined testcases

Taddeus Kroes преди 10 години
родител
ревизия
c1d19a208f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      test/run.bash

+ 2 - 2
test/run.bash

@@ -72,8 +72,8 @@ function check_combined {
         ofile=${file%.*}.o
         ofiles="$ofiles $ofile"
 
-        if $CIVCC $CGLAGS -o $asfile $file &&
-           $CIVAS -o $ofile $asfile
+        if $CIVCC $CGLAGS -o $asfile $file > /dev/null 2>&1 &&
+           $CIVAS -o $ofile $asfile 2>&1
         then
             compiled_files="$compiled_files `basename $file`"
         else