[OMPT] Fix test parallel/not_enough_threads.c
ClosedPublic

Authored by Hahnfeld on May 20 2018, 8:16 AM.

Details

Summary

Upcoming changes to FileCheck will modify CHECK-DAG to not match
overlapping regions of the input. This test was found to be affected
because it expects to find four threads to invoke events of type
ompt_event_implicit_task_begin. It turns out this is wrong because
OMP_THREAD_LIMIT is set to 2, so there are only two threads. The
rest of the test got it right so it went unnoticed until now.

(Rewrite test and apply clang-format to it as discussed in the past.)

Diff Detail

Repository
rL LLVM
Hahnfeld created this revision.May 20 2018, 8:16 AM
This revision is now accepted and ready to land.May 27 2018, 3:11 AM
This revision was automatically updated to reflect the committed changes.