From: mquinson Date: Fri, 13 Oct 2006 09:26:03 +0000 (+0000) Subject: Integrate simdag tests into the testing infrastructure X-Git-Tag: v3.3~2470 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9e4f0cf5a8280c9034113e98707ac3f9c6a4691b Integrate simdag tests into the testing infrastructure git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2889 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index f695969678..d910889cb3 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -75,4 +75,6 @@ gras_datadesc_usage_LDADD= $(LDADD_RL) gras/datadesc_structs.c: gras/mk_datadesc_structs.pl cd gras ; perl ../$(top_srcdir)/testsuite/gras/mk_datadesc_structs.pl > datadesc_structs.c +simdag_sd_test_LDADD= $(LDADD_SG) + include $(top_srcdir)/acmacro/dist-files.mk diff --git a/testsuite/run_tests.in b/testsuite/run_tests.in index 81f1ceab5a..3422b679f6 100755 --- a/testsuite/run_tests.in +++ b/testsuite/run_tests.in @@ -52,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 @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; \ @@ -64,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 diff --git a/testsuite/simdag/small_platform_variable.xml b/testsuite/simdag/small_platform_variable.xml index db21d4c475..42e3b3fb58 100644 --- a/testsuite/simdag/small_platform_variable.xml +++ b/testsuite/simdag/small_platform_variable.xml @@ -2,7 +2,7 @@ - +