forked from OSchip/llvm-project
[OpenMP][Tests] NFC: fix flaky test failure caused by rare scheduling
The worker thread can start execution of the task before creation of the second task Fixes the spurious failure reported in https://reviews.llvm.org/D61657
This commit is contained in:
parent
34b61d6cd5
commit
34b34e90fc
|
@ -96,7 +96,7 @@ ompt_start_tool_result_t *ompt_start_tool(unsigned int omp_version,
|
|||
// CHECK-SAME: memory_addr=[[NULL]], memory_size=0, result=0
|
||||
|
||||
// CHECK: ompt_event_task_create: task_id=[[TASK_ID_0:[0-9]+]]
|
||||
// CHECK: ompt_event_task_create: task_id=[[TASK_ID_1:[0-9]+]]
|
||||
// CHECK-DAG: ompt_event_task_create: task_id=[[TASK_ID_1:[0-9]+]]
|
||||
|
||||
// Expects non-zero address, size, and result
|
||||
// CHECK-DAG: ompt_event_task_schedule: task_id=[[TASK_ID_0]],
|
||||
|
|
Loading…
Reference in New Issue