-
Notifications
You must be signed in to change notification settings - Fork 15.7k
[offload][lit] Fix requires.c after 'not' behavior change #174499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
|
@llvm/pr-subscribers-offload Author: Nick Sarnie (sarnex) Changes
Full diff: https://github.com/llvm/llvm-project/pull/174499.diff 1 Files Affected:
diff --git a/offload/test/offloading/requires.c b/offload/test/offloading/requires.c
index 249c478215d42..2afbbcbde6155 100644
--- a/offload/test/offloading/requires.c
+++ b/offload/test/offloading/requires.c
@@ -1,6 +1,6 @@
// clang-format off
// RUN: %libomptarget-compile-generic -DREQ=1 && %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=GOOD
-// RUN: %libomptarget-compile-generic -DREQ=2 && not %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=BAD
+// RUN: %libomptarget-compile-generic -DREQ=2 && not --crash %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=BAD
// clang-format on
/*
|
boomanaiden154
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not crash without assertions?
|
Really good question, one sec |
|
The behavior is the same with and without assertions, the test throws SIGABRT and returns signal 134. The test passes with |
boomanaiden154
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the confirmation.
|
Thanks for the feedback! |
`not` behavior change in llvm#174298 requires `--crash` passed now. Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
notbehavior change in #174298 requires--crashpassed now.