3 # Copyright (C) 2010-2013 CEA/DEN
5 # This library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation; either
8 # version 2.1 of the License.
10 # This library is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with this library; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 echo "Remove old results ... "
23 rm -rf .coverage htmlcov
26 echo "****************************"
27 coverage run --source=../commands/config.py config/option_value.py > test_res.html
28 coverage run --source=../commands/config.py -a config/option_value_2.py >> test_res.html
29 coverage run --source=../commands/config.py -a config/create_user_pyconf.py >> test_res.html
30 coverage run --source=../commands/config.py -a config/option_copy.py >> test_res.html
31 coverage run --source=../commands/config.py -a config/option_edit.py >> test_res.html
32 coverage run --source=../commands/config.py,../commands/log.py,../src/xmlManager.py,../src/logger.py -a log/launch_browser.py >> test_res.html
33 coverage run --source=../commands/config.py,../commands/log.py,../src/xmlManager.py,../src/logger.py -a log/launch_browser2.py >> test_res.html
34 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_source.py >> test_res.html
35 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_patch.py >> test_res.html
36 coverage run --source=../commands/config.py,../commands/source.py,../commands/patch.py,../commands/prepare.py -a prepare/test_prepare.py >> test_res.html
37 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
38 coverage run --source=../commands/config.py,../commands/environ.py -a environ/test_environ.py >> test_res.html
39 coverage run --source=../commands/config.py,../commands/configure.py,../commands/environ.py -a compilation/test_configure.py >> test_res.html
40 coverage run --source=../commands/config.py,../commands/make.py,../commands/environ.py -a compilation/test_make.py >> test_res.html
41 coverage run --source=../commands/config.py,../commands/makeinstall.py,../commands/environ.py -a compilation/test_makeinstall.py >> test_res.html
42 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
43 coverage run --source=../commands/shell.py -a shell/test_shell.py >> test_res.html
44 coverage run --source=../commands/job.py -a job/test_job.py >> test_res.html
45 coverage run --source=../commands/jobs.py -a jobs/test_jobs.py >> test_res.html
46 coverage run --source=../commands/test.py,../src/test_module.py,../src/fork.py -a test/test_command.py >> test_res.html
47 echo "****************************"
49 echo "building html coverage"
57 #firefox test_res.html htmlcov/index.html