Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git] / examples / gras / properties / test_sg.tesh
1 p Runs the 'properties' test within the simulator (simulation times valid for 32bits architectures)
2
3 ! output sort
4 ! setenv GRAS_NO_WARN_EXPERIMENTAL=1
5 $ $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"
6 > [  0.000000] (2:bob@host1) == Dump all the properties of host1
7 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
8 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_mem' has value: '4'
9 > [  0.000000] (2:bob@host1) == Try to get a property that does not exist
10 > [  0.000000] (2:bob@host1) == Set a host property that alice will try to retrieve in SG (from bob->hello)
11 > [  0.000000] (2:bob@host1) == Dump all the properties of host1 again to check the addition
12 > [  0.000000] (2:bob@host1)   Host property: 'from bob' has value: 'hello'
13 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
14 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_mem' has value: '4'
15 > [  1.000000] (1:alice@host1) == Dump all the properties of current host
16 > [  1.000000] (1:alice@host1)   Host property: 'from bob' has value: 'hello'
17 > [  1.000000] (1:alice@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
18 > [  1.000000] (1:alice@host1)   Host property: 'SG_TEST_mem' has value: '4'
19 > [  1.000000] (1:alice@host1) == Dump all the properties of alice
20 > [  1.000000] (1:alice@host1)   Process property: 'SG_TEST_blah' has value: 'blah'
21 > [  1.000000] (1:alice@host1) == Try to get a process property that does not exist
22 > [  1.000000] (1:alice@host1) == Trying to modify a process property
23 > [  1.000000] (1:alice@host1) Exiting GRAS
24 > [  1.000000] (2:bob@host1) Exiting GRAS