From: Navarrop Date: Thu, 17 Nov 2011 11:14:28 +0000 (+0100) Subject: Add a test for model RuleBased. X-Git-Tag: exp_20120216~246 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/77c42345eacf617675689b8136395ffaf612d19d Add a test for model RuleBased. Cause now in cluster it is model "cluster". --- diff --git a/teshsuite/simdag/platforms/Two_clusters_rulebased.xml b/teshsuite/simdag/platforms/Two_clusters_rulebased.xml new file mode 100644 index 0000000000..7096f7592c --- /dev/null +++ b/teshsuite/simdag/platforms/Two_clusters_rulebased.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + diff --git a/teshsuite/simdag/platforms/basic_parsing_test.tesh b/teshsuite/simdag/platforms/basic_parsing_test.tesh index aacd553c4a..207782b0a7 100644 --- a/teshsuite/simdag/platforms/basic_parsing_test.tesh +++ b/teshsuite/simdag/platforms/basic_parsing_test.tesh @@ -118,4 +118,16 @@ $ ${bindir:=.}/is_router_test ./test_of_is_router.xml > - Seen: "AS2" is type : 3 > - Seen: "AS3" is type : 3 > - Seen: "AS4" is type : 3 -> - Seen: "AS" is type : 3 \ No newline at end of file +> - Seen: "AS" is type : 3 + +$ ${bindir:=.}/basic_parsing_test ./Two_clusters_rulebased.xml ONE_LINK +> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07 +> Workstation number: 4, link number: 8 +> Route between c-0.me and c-3.me +> Route size 5 +> Link my_cluster_1_link_0: latency = 0.000050, bandwidth = 125000000.000000 +> Link my_cluster_1_backbone: latency = 0.000500, bandwidth = 2250000000.000000 +> Link backbone: latency = 0.000500, bandwidth = 1250000000.000000 +> Link my_cluster_2_backbone: latency = 0.000500, bandwidth = 2250000000.000000 +> Link my_cluster_2_link_3: latency = 0.000050, bandwidth = 125000000.000000 +> Route latency = 0.001600, route bandwidth = 125000000.000000 \ No newline at end of file