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
darshan
darshan
Commits
ef521fcb
Commit
ef521fcb
authored
Mar 13, 2015
by
Philip Carns
Browse files
make regression tests not stop on failure
parent
f0d131f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-test/regression/run-all.sh
View file @
ef521fcb
...
...
@@ -45,14 +45,21 @@ fi
# set up environment for tests according to platform
source
$DARSHAN_TESTDIR
/
$DARSHAN_PLATFORM
/env.sh
failure_count
=
0
for
i
in
`
ls
$DARSHAN_TESTDIR
/test-cases/
*
.sh
`
;
do
echo
Running
${
i
}
...
$i
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to execute test case
$i
"
exit
1
failure_count
=
$((
failure_count+1
))
fi
echo
Done.
done
exit
0
if
[
"
$failure_count
"
-eq
0
]
;
then
exit
0
else
echo
$failure_count
tests failed
exit
1
fi
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