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
Jakob Luettgau
darshan
Commits
6e96d134
Commit
6e96d134
authored
Mar 18, 2016
by
Shane Snyder
Browse files
regression tests now catch LDPRELOAD symbol errors
parent
b4cc833c
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-test/regression/run-all.sh
View file @
6e96d134
...
...
@@ -45,6 +45,17 @@ fi
# set up environment for tests according to platform
source
$DARSHAN_TESTDIR
/
$DARSHAN_PLATFORM
/env.sh
# in case of using LD_PRELOAD, it is possible errors with Darshan symbols
# (e..g, forgetting to resolve a symbol Darshan wraps uses using dlsym)
# can cause arbitrary binaries to crash. We check the output of the true
# command to successfully identify failures like this and exit
true_out
=
`
/bin/true 2>&1
`
if
[
$?
-ne
0
-o
-n
true_out
]
;
then
echo
$true_out
echo
"environment setup failed"
exit
1
fi
failure_count
=
0
for
i
in
`
ls
$DARSHAN_TESTDIR
/test-cases/
*
.sh
`
;
do
...
...
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