[OpenMP][FIX] Adjust test to be non-flaky (#122331)

The test runs asynchronous kernels and depending on the timing the
output is slightly different. We now only check for the common parts of
the output.
This commit is contained in:
Johannes Doerfert 2025-01-09 11:57:11 -08:00 committed by GitHub
parent 6312beef78
commit 1739ba9bb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,4 +36,4 @@ int main(void) {
// TRACE: Kernel {{.*}} (__omp_offloading_{{.*}}_main_l29)
// TRACE: launchKernel
//
// CHECK: Kernel {{[0-9]}}: {{.*}} (__omp_offloading_{{.*}}_main_l29)
// CHECK: Kernel {{.*}} (__omp_offloading_{{.*}}_main_l29)