Last change
on this file since 4796 was
4737,
checked in by eckhard, 4 years ago
|
Added INIFOR integration test
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | #!/usr/bin/env bash |
---|
2 | |
---|
3 | # inifortest - compiles a test build of INIFOR and runs integration test |
---|
4 | |
---|
5 | #------------------------------------------------------------------------------# |
---|
6 | # This file is part of the PALM model system. |
---|
7 | # |
---|
8 | # PALM is free software: you can redistribute it and/or modify it under the terms |
---|
9 | # of the GNU General Public License as published by the Free Software Foundation, |
---|
10 | # either version 3 of the License, or (at your option) any later version. |
---|
11 | # |
---|
12 | # PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
13 | # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
14 | # A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
15 | # |
---|
16 | # You should have received a copy of the GNU General Public License along with |
---|
17 | # PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
18 | # |
---|
19 | # Copyright 2017-2020 Leibniz Universitaet Hannover |
---|
20 | # Copyright 2017-2020 Deutscher Wetterdienst, Offenbach |
---|
21 | #------------------------------------------------------------------------------# |
---|
22 | # |
---|
23 | # Current revisions: |
---|
24 | # ------------------ |
---|
25 | # |
---|
26 | # |
---|
27 | # Former revisions: |
---|
28 | # ----------------- |
---|
29 | # |
---|
30 | # Initial revision |
---|
31 | # |
---|
32 | # |
---|
33 | # |
---|
34 | #------------------------------------------------------------------------------# |
---|
35 | |
---|
36 | TEST_DIR="$(cd "$(dirname "$0")/../UTIL/inifor/tests" >/dev/null 2>&1 ; pwd -P)" |
---|
37 | MAKE_FILE="$TEST_DIR/builds/Makefile.gnu_debug" |
---|
38 | |
---|
39 | cd $TEST_DIR/.. |
---|
40 | make -f $MAKE_FILE clean BIN_PATH=$TEST_DIR |
---|
41 | make -f $MAKE_FILE BIN_PATH=$TEST_DIR |
---|
42 | python $TEST_DIR/inifor_test.py |
---|
Note: See
TracBrowser
for help on using the repository browser.