Skip to content

Commit

Permalink
[OpenMP] Fix libomptarget negative tests to expect abort
Browse files Browse the repository at this point in the history
On runtime failures, D83963 causes the runtime to abort instead of
merely exiting with a non-zero value, but many tests in the
libomptarget test suite still expect the former behavior.  This patch
updates the test suite and was discussed in post-commit comments on
D83963 and D84557.
  • Loading branch information
jdenny-ornl committed Jul 28, 2020
1 parent 412b393 commit 9b4826d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmp/libomptarget/test/lit.cfg
Expand Up @@ -114,7 +114,7 @@ for libomptarget_target in config.libomptarget_all_targets:
"%t-" + libomptarget_target))
config.substitutions.append(("%libomptarget-run-fail-" + \
libomptarget_target, \
"%not %t-" + libomptarget_target))
"%not --crash %t-" + libomptarget_target))
config.substitutions.append(("%clangxx-" + libomptarget_target, \
"%clangxx %openmp_flags %flags -fopenmp-targets=" + libomptarget_target))
config.substitutions.append(("%clang-" + libomptarget_target, \
Expand Down

0 comments on commit 9b4826d

Please sign in to comment.