Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
b41e1170
Commit
b41e1170
authored
Oct 16, 2019
by
Oliver Heidmann
Browse files
added test function handling core of execution and evaluation of out operator tests
parent
363009bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/cdoTestFunctions.test.in
0 → 100644
View file @
b41e1170
function runTest #NTEST #CDOTEST CDOCOMMAND TESTCOMMAND
{
RSTAT=0
echo "Running test: $NTEST - $CDOTEST"
echo "$CDOCOMMAND"
$CDOCOMMAND
test $? -eq 0 || let RSTAT+=1
echo "$TESTCOMMAND"
$TESTCOMMAND
test $? -eq 0 || let RSTAT+=1
test $RSTAT -eq 0 && echo "ok $NTEST - $CDOTEST"
test $RSTAT -eq 0 || echo "not ok $NTEST - $CDOTEST"
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment