source: palm/trunk/SCRIPTS/inifortest @ 4882

Last change on this file since 4882 was 4843, checked in by raasch, 4 years ago

local namelist parameter added to switch off the module although the respective module namelist appears in the namelist file, further copyright updates

  • 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-2021  Leibniz Universitaet Hannover
20# Copyright 2017-2021  Deutscher Wetterdienst, Offenbach
21#------------------------------------------------------------------------------#
22#
23# Current revisions:
24# ------------------
25#
26#
27# Former revisions:
28# -----------------
29#
30# Initial revision
31#
32#
33#
34#------------------------------------------------------------------------------#
35
36TEST_DIR="$(cd "$(dirname "$0")/../UTIL/inifor/tests" >/dev/null 2>&1 ; pwd -P)"
37MAKE_FILE="$TEST_DIR/builds/Makefile.gnu_debug"
38
39cd $TEST_DIR/..
40make -f $MAKE_FILE clean BIN_PATH=$TEST_DIR
41make -f $MAKE_FILE BIN_PATH=$TEST_DIR
42python $TEST_DIR/inifor_test.py
Note: See TracBrowser for help on using the repository browser.