Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Biggest commit ever (SIMIX2): the user processes can now run in parallel
[simgrid.git] / examples / gras / properties / test_sg
old mode 100755 (executable)
new mode 100644 (file)
index 696652f..ebf5a1a
@@ -1,22 +1,23 @@
 p Runs the 'properties' test within the simulator (simulation times valid for 32bits architectures)
 
-$ $SG_TEST_EXENV ./properties_simulator${EXEEXT:=} ${srcdir:=.}/../../platforms/prop.xml ${srcdir:=.}/properties.xml
-> [host1:bob:(2) 0.000000] [test/INFO] == Dump all the properties of host1
-> [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
-> [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
-> [host1:bob:(2) 0.000000] [test/INFO] == Try to get a property that does not exist
-> [host1:bob:(2) 0.000000] [test/INFO] == Set a host property that alice will try to retrieve in SG (from bob->hello)
-> [host1:bob:(2) 0.000000] [test/INFO] == Dump all the properties of host1 again to check the addition
-> [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'from bob' has value: 'hello'
-> [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
-> [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
-> [host1:bob:(2) 1.000000] [gras/INFO] Exiting GRAS
-> [host1:alice:(1) 1.000000] [test/INFO] == Dump all the properties of current host
-> [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'from bob' has value: 'hello'
-> [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
-> [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
-> [host1:alice:(1) 1.000000] [test/INFO] == Dump all the properties of alice
-> [host1:alice:(1) 1.000000] [test/INFO]   Process property: 'SG_TEST_blah' has value: 'blah'
-> [host1:alice:(1) 1.000000] [test/INFO] == Try to get a process property that does not exist
-> [host1:alice:(1) 1.000000] [test/INFO] == Trying to modify a process property
-> [host1:alice:(1) 1.000000] [gras/INFO] Exiting GRAS
+! output sort
+$ $SG_TEST_EXENV ./properties_simulator${EXEEXT:=} ${srcdir:=.}/../../platforms/prop.xml ${srcdir:=.}/properties.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
+> [  0.000000] (2:bob@host1) == Dump all the properties of host1
+> [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
+> [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_mem' has value: '4'
+> [  0.000000] (2:bob@host1) == Try to get a property that does not exist
+> [  0.000000] (2:bob@host1) == Set a host property that alice will try to retrieve in SG (from bob->hello)
+> [  0.000000] (2:bob@host1) == Dump all the properties of host1 again to check the addition
+> [  0.000000] (2:bob@host1)   Host property: 'from bob' has value: 'hello'
+> [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
+> [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_mem' has value: '4'
+> [  1.000000] (1:alice@host1) == Dump all the properties of current host
+> [  1.000000] (1:alice@host1)   Host property: 'from bob' has value: 'hello'
+> [  1.000000] (1:alice@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
+> [  1.000000] (1:alice@host1)   Host property: 'SG_TEST_mem' has value: '4'
+> [  1.000000] (1:alice@host1) == Dump all the properties of alice
+> [  1.000000] (1:alice@host1)   Process property: 'SG_TEST_blah' has value: 'blah'
+> [  1.000000] (1:alice@host1) == Try to get a process property that does not exist
+> [  1.000000] (1:alice@host1) == Trying to modify a process property
+> [  1.000000] (1:alice@host1) Exiting GRAS
+> [  1.000000] (2:bob@host1) Exiting GRAS