Jelajahi Sumber

Redirect compiler output in combined testcases

Taddeus Kroes 10 tahun lalu
induk
melakukan
c1d19a208f
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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