Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not check our context code on hosts where configure decided not to use it (or...
[simgrid.git] / testsuite / run_tests.in
index 9164f6a..dc589ea 100755 (executable)
@@ -32,9 +32,13 @@ fi
 ##
 xbt_TESTS=" \
             xbt/log_usage@EXEEXT@;        \
-            xbt/context_usage@EXEEXT@;    \
+            xbt/graphxml_usage@EXEEXT@ @srcdir@/xbt/graph.xml;    \
             xbt/heap_bench@EXEEXT@;"
-          
+
+if [ "x@USE_CONTEXT@" = "xyes" ] ; then
+  xbt_TESTS="$xbt_TESTS xbt/context_usage@EXEEXT@;"
+fi
+
 surf_TESTS="surf/maxmin_usage@EXEEXT@;                                        \
             surf/maxmin_bench@EXEEXT@;                                        \
            surf/trace_usage@EXEEXT@ --surf-path=@srcdir@/surf/;              \
@@ -153,7 +157,7 @@ fi
 if [ $failed_nb != 0 ] ; then
   echo "$failed_nb tests of $tests_nb failed: "
   cat test.failed
-  echo "Rerun the tests using the following command: script -c 'make test' simgrid.tests.log"
+  echo "Rerun the tests using the following command: script -c 'make check' simgrid.tests.log"
   echo " and send the following informations to simgrid-devel@lists.gforge.inria.fr:"
   echo "   - the file simgrid.tests.log produced by this command."
   echo "   - a short description of the target platform (arch, OS, distrib, compiler)."