9 elif [ -z ${SQUISHSERVER_PORT} ]; then
10 SQUISHSERVER_PORT=4320
13 export TEST_DATA_DIR=$(cd ${a_dir}; pwd)/test.squish/shared/testdata
15 source ${a_dir}/env_squish.sh
17 for aut in linux_run.sh salome_run.sh; do
18 squishserver --config addAUT ${aut} $(pwd)
20 squishserver --config setAUTTimeout 120
21 squishserver --verbose --port=${SQUISHSERVER_PORT} --stop
22 squishserver --verbose --port=${SQUISHSERVER_PORT} 1>log_squishserver 2>err_squishserver &
24 squishrunner --port=${SQUISHSERVER_PORT} --config setCursorAnimation off
32 echo "Running suite ${suite}"
33 if [ "${cases}" != "" ]; then echo "Cases ${cases}"; fi
36 squishrunner --port=${SQUISHSERVER_PORT} --testsuite ${suite} ${cases} --reportgen stdout --exitCodeOnFail 1
39 if [ ${EXIT_CODE} = '1' ]; then RETVAL=1; fi
42 squishrunner_batch() {
48 for test in ${tests}; do
49 tests_arg="${tests_arg} --testcase ${test}"
54 squishrunner_run ${suite} "${tests_arg}"
57 #squishrunner_batch ./test.squish/suite_ISSUES 'tst_BASE tst_DISTANCE tst_PARALLEL_1 tst_PARALLEL_2 tst_PERPENDICULAR_1 tst_RADIUS tst_c tst_common_1 tst_crash_1 tst_818 tst_532'
58 #squishrunner_batch ./test.squish/suite_ISSUES_SALOME 'tst_sketch_001 tst_sketch_002 tst_sketch_003 tst_sketch_004 tst_sketch_005 tst_sketch_006 tst_sketch_007 tst_sketch_008 tst_sketch_009 tst_sketch_010 tst_sketch_011 tst_474 tst_532 tst_576 tst_679'
60 for suite in ./test.squish/suite_*; do
61 squishrunner_run ${suite}
67 squishserver --verbose --port=${SQUISHSERVER_PORT} --stop
68 for aut in linux_run.sh salome_run.sh; do
69 squishserver --config removeAUT ${aut} $(pwd)