[OpenMP][OMPT][NFC] Fix flaky test
authorJoachim Protze <protze@itc.rwth-aachen.de>
Mon, 2 Nov 2020 15:43:12 +0000 (16:43 +0100)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Tue, 3 Nov 2020 12:15:32 +0000 (13:15 +0100)
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.

openmp/runtime/test/ompt/tasks/dependences_mutexinoutset.c

index 1953682..17cb2fd 100644 (file)
@@ -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]]