Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Redirect tests stderr to &1 to be usable in a |less
[simgrid.git] / testsuite / gras / run_tests
index cc9f728..89c549e 100755 (executable)
@@ -11,10 +11,10 @@ for test in log_usage                           \
 do                 
   tests_nb=`expr $tests_nb + 1`
   echo "#### Test $test"
-  ./$test --gras-log="root.thres=info"
+  ./$test --gras-log="root.thres=info" 2>&1
   if [ $? != 0 ] ; then
     echo "## failed. Rerun $test with full details."
-  ./$test --gras-log="root.thres=debug"
+    ./$test --gras-log="root.thres=debug" 2>&1
     failed_nb=`expr $failed_nb + 1`
     failed="$failed $test"
   else