Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Redirect tests stderr to &1 to be usable in a |less
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 28 Jan 2004 23:30:38 +0000 (23:30 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 28 Jan 2004 23:30:38 +0000 (23:30 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@16 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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