Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
696652fc22715d09698b28965e65b389964f9b51
[simgrid.git] / examples / gras / properties / test_sg
1 p Runs the 'properties' test within the simulator (simulation times valid for 32bits architectures)
2
3 $ $SG_TEST_EXENV ./properties_simulator${EXEEXT:=} ${srcdir:=.}/../../platforms/prop.xml ${srcdir:=.}/properties.xml
4 > [host1:bob:(2) 0.000000] [test/INFO] == Dump all the properties of host1
5 > [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
6 > [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
7 > [host1:bob:(2) 0.000000] [test/INFO] == Try to get a property that does not exist
8 > [host1:bob:(2) 0.000000] [test/INFO] == Set a host property that alice will try to retrieve in SG (from bob->hello)
9 > [host1:bob:(2) 0.000000] [test/INFO] == Dump all the properties of host1 again to check the addition
10 > [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'from bob' has value: 'hello'
11 > [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
12 > [host1:bob:(2) 0.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
13 > [host1:bob:(2) 1.000000] [gras/INFO] Exiting GRAS
14 > [host1:alice:(1) 1.000000] [test/INFO] == Dump all the properties of current host
15 > [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'from bob' has value: 'hello'
16 > [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'SG_TEST_Hdd' has value: '180'
17 > [host1:alice:(1) 1.000000] [test/INFO]   Host property: 'SG_TEST_mem' has value: '4'
18 > [host1:alice:(1) 1.000000] [test/INFO] == Dump all the properties of alice
19 > [host1:alice:(1) 1.000000] [test/INFO]   Process property: 'SG_TEST_blah' has value: 'blah'
20 > [host1:alice:(1) 1.000000] [test/INFO] == Try to get a process property that does not exist
21 > [host1:alice:(1) 1.000000] [test/INFO] == Trying to modify a process property
22 > [host1:alice:(1) 1.000000] [gras/INFO] Exiting GRAS