From 1739ba9bb5b5e0b2f3c7b381f7852b77a53ef3ba Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Thu, 9 Jan 2025 11:57:11 -0800 Subject: [PATCH] [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. --- offload/test/sanitizer/kernel_crash_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offload/test/sanitizer/kernel_crash_async.c b/offload/test/sanitizer/kernel_crash_async.c index ee22ba504018..d51418f81788 100644 --- a/offload/test/sanitizer/kernel_crash_async.c +++ b/offload/test/sanitizer/kernel_crash_async.c @@ -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)