]> SALOME platform Git repositories - tools/sat.git/blob - test/test_sat5_0/run_all.sh
Salome HOME
set VARS.user to Unknown is USER var not set (no more exception), extend printings...
[tools/sat.git] / test / test_sat5_0 / run_all.sh
1 #!/usr/bin/env bash
2 #-*- coding:utf-8 -*-
3
4 #  Copyright (C) 2010-2018  CEA/DEN
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
20 echo "TODO: SAT5.1 OBSOLETE: to set as python script, may be"
21 echo "Begin date:"
22 date
23 echo
24 echo "Remove old results ... "
25 rm -rf .coverage htmlcov
26 echo "Done"
27 echo
28 echo "****************************"
29 coverage run --source=../commands/config.py    config/option_value.py > test_res.html
30 coverage run --source=../commands/config.py -a config/option_value_2.py >> test_res.html
31 coverage run --source=../commands/config.py -a config/create_user_pyconf.py >> test_res.html
32 coverage run --source=../commands/config.py -a config/option_copy.py >> test_res.html
33 coverage run --source=../commands/config.py -a config/option_edit.py >> test_res.html
34 coverage run --source=../commands/config.py,../commands/log.py,../src/xmlManager.py,../src/logger.py -a log/launch_browser.py >> test_res.html
35 coverage run --source=../commands/config.py,../commands/log.py,../src/xmlManager.py,../src/logger.py -a log/launch_browser2.py >> test_res.html
36 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_source.py >> test_res.html
37 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_patch.py >> test_res.html
38 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_prepare.py >> test_res.html
39 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py,../commands/clean.py -a prepare/test_clean.py >> test_res.html
40 coverage run --source=../commands/config.py,../commands/environ.py -a environ/test_environ.py >> test_res.html
41 coverage run --source=../commands/config.py,../commands/configure.py,../commands/environ.py -a compilation/test_configure.py >> test_res.html
42 coverage run --source=../commands/config.py,../commands/make.py,../commands/environ.py -a compilation/test_make.py >> test_res.html
43 coverage run --source=../commands/config.py,../commands/makeinstall.py,../commands/environ.py -a compilation/test_makeinstall.py >> test_res.html
44 coverage run --source=../commands/config.py,../commands/compile.py,../commands/configure.py,../commands/make.py,../commands/makeinstall.py,../commands/environ.py -a compilation/test_compilation.py >> test_res.html
45 coverage run --source=../commands/shell.py -a shell/test_shell.py >> test_res.html
46 coverage run --source=../commands/job.py -a job/test_job.py >> test_res.html
47 coverage run --source=../commands/jobs.py -a jobs/test_jobs.py >> test_res.html
48 coverage run --source=../commands/test.py,../src/test_module.py,../src/fork.py -a test/test_command.py >> test_res.html
49 echo "****************************"
50 echo
51 echo "building html coverage"
52 coverage html
53 echo "Done"
54 echo
55 echo "End date:"
56 date
57 echo
58
59 #firefox test_res.html htmlcov/index.html