Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use --surf-parse so that the simdag test passes even in VPATH builds
[simgrid.git] / testsuite / run_tests.in
index e2b741b..e2241f1 100755 (executable)
@@ -30,17 +30,12 @@ fi
 ##
 ## Tests defintions
 ##
-xbt_TESTS=" xbt/ex_test@EXEEXT@;          \
+xbt_TESTS=" \
             xbt/log_usage@EXEEXT@;        \
-            xbt/dynar_int@EXEEXT@;        \
-             xbt/dynar_double@EXEEXT@;   \
-             xbt/dynar_string@EXEEXT@;   \
-            xbt/dict_usage@EXEEXT@;       \
-             xbt/dict_crash@EXEEXT@;     \
-             xbt/multidict_crash@EXEEXT@; \
-            xbt/config_usage@EXEEXT@;     \
+            xbt/context_usage@EXEEXT@;    \
+            xbt/graphxml_usage@EXEEXT@ @srcdir@/xbt/graph.xml;    \
             xbt/heap_bench@EXEEXT@;"
-          
+
 surf_TESTS="surf/maxmin_usage@EXEEXT@;                                        \
             surf/maxmin_bench@EXEEXT@;                                        \
            surf/trace_usage@EXEEXT@ --surf-path=@srcdir@/surf/;              \
@@ -49,6 +44,7 @@ surf_TESTS="surf/maxmin_usage@EXEEXT@;                                        \
 
 gras_TESTS="gras/trp_tcp_usage;      gras/trp_file_usage;                        \
            gras/datadesc_usage@EXEEXT@;                                         \
+           gras/datadesc_usage@EXEEXT@ --copy;                                  \
             gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.little32;  \
            gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.little32_4;\
            gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.little64;  \
@@ -56,6 +52,10 @@ gras_TESTS="gras/trp_tcp_usage;      gras/trp_file_usage;
            gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.big32_8_4; \
            gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.big32_2;"     
 
+simdag_TESTS="simdag/sd_test --surf-path=@srcdir@/simdag @srcdir@/simdag/small_platform_variable.xml; \
+              simdag/sd_test @top_srcdir@/examples/msg/small_platform.xml; \
+              simdag/sd_test @top_srcdir@/examples/msg/msg_platform.xml; "
+
 # Data sets still to regenerate:
 #
 #          gras/datadesc_usage@EXEEXT@ --read @srcdir@/gras/datadesc.big32_4;   \
@@ -68,7 +68,7 @@ gras_TESTS="gras/trp_tcp_usage;      gras/trp_file_usage;
 # we split tests on ';' so that they can contain spaces (test=accumulator)
 test=""
 
-for testpart in $xbt_TESTS $gras_TESTS $surf_TESTS
+for testpart in $xbt_TESTS $gras_TESTS $surf_TESTS $simdag_TESTS
 do
   test="$test $testpart"
   if echo $test | grep  ';' >/dev/null ; then
@@ -159,7 +159,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)."