[Openmp-commits] [openmp] b0eb19b - [OpenMP][OMPT][NFC] Fix flaky test
Joachim Protze via Openmp-commits
openmp-commits at lists.llvm.org
Tue Nov 3 04:33:22 PST 2020
Author: Joachim Protze
Date: 2020-11-03T13:15:32+01:00
New Revision: b0eb19bf8af43b560106fdf30087606a0f65fa84
URL: https://github.com/llvm/llvm-project/commit/b0eb19bf8af43b560106fdf30087606a0f65fa84
DIFF: https://github.com/llvm/llvm-project/commit/b0eb19bf8af43b560106fdf30087606a0f65fa84.diff
LOG: [OpenMP][OMPT][NFC] Fix flaky test
As reported by @ronlieb, the test shows intermittent fails.
The test failed, if the dependent task was already finished, when the depending
task was to be created. We have other tests to check for the dependences pair.
Added:
Modified:
openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
Removed:
################################################################################
diff --git a/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c b/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
index 1953682b07fd..17cb2fd95bbf 100644
--- a/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
+++ b/openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c
@@ -94,9 +94,6 @@ int main() {
// CHECK-SAME: task_id=[[SECOND_TASK]], deps=[([[ADDRX]],
// CHECK-SAME: ompt_dependence_type_mutexinoutset)], ndeps=1
-// CHECK: {{^}}[[MASTER_ID]]: ompt_event_task_dependence_pair:
-// CHECK-SAME: first_task_id=[[FIRST_TASK]], second_task_id=[[SECOND_TASK]]
-
// CHECK: {{^}}[[MASTER_ID]]: fuzzy_address={{.*}}[[RETURN_ADDRESS]]
// CHECK: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]],
// CHECK-SAME: task_id=[[IMPLICIT_TASK_ID]], exit_frame=[[EXIT]],
@@ -112,9 +109,6 @@ int main() {
// CHECK-SAME: task_id=[[THIRD_TASK]], deps=[([[ADDRX]],
// CHECK-SAME: ompt_dependence_type_in)], ndeps=1
-// CHECK: {{^}}[[MASTER_ID]]: ompt_event_task_dependence_pair:
-// CHECK-SAME: first_task_id=[[SECOND_TASK]], second_task_id=[[THIRD_TASK]]
-
// CHECK: {{^}}[[MASTER_ID]]: task level 0: parallel_id=[[PARALLEL_ID]],
// CHECK-SAME: task_id=[[IMPLICIT_TASK_ID]], exit_frame=[[EXIT]],
// CHECK-SAME: reenter_frame=[[NULL]]
More information about the Openmp-commits
mailing list