4 # Copyright (C) 2010-2018 CEA/DEN
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.
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.
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
20 echo "TODO: SAT5.1 OBSOLETE: to set as python script, may be"
24 echo "Remove old results ... "
25 rm -rf .coverage htmlcov
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 "****************************"
51 echo "building html coverage"
59 #firefox test_res.html htmlcov/index.html