]> SALOME platform Git repositories - modules/yacs.git/blob - src/yacsloader/Test/YacsLoaderInSessionTest.sh.in
Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / yacsloader / Test / YacsLoaderInSessionTest.sh.in
1 #!/bin/bash
2
3 # --- script to execute in SALOME environment (use runSession)
4
5 # --- wait until SALOME containers are ready
6
7 python @srcdir@/waitContainers.py
8
9 # --- launch CORBA server echoSrv for tests
10
11 ./echoSrv &
12 pidecho=$!
13 echo $pidecho > "/tmp/YACSTEST_PidEcho"
14
15 # --- launch unit tests
16
17 export ROOT_SAMPLES=@ROOT_SRCDIR@/src/yacsloader/samples
18
19 ./TestYacsLoader
20 ret=$?
21 echo "exec status TestYacsLoader " $ret
22
23 # --- return unit tests status
24
25 exit $ret