[llvm] [BOLT] Fix race condition in a test (PR #91866)
via llvm-commits
llvm-commits at lists.llvm.org
Sat May 11 13:22:55 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-bolt
Author: Maksim Panchenko (maksfb)
<details>
<summary>Changes</summary>
Fix race condition in internal NFC test.
---
Full diff: https://github.com/llvm/llvm-project/pull/91866.diff
1 Files Affected:
- (modified) bolt/test/runtime/bolt-reserved.cpp (+2-2)
``````````diff
diff --git a/bolt/test/runtime/bolt-reserved.cpp b/bolt/test/runtime/bolt-reserved.cpp
index 5e93b4f7c3d40..c88b1e284d074 100644
--- a/bolt/test/runtime/bolt-reserved.cpp
+++ b/bolt/test/runtime/bolt-reserved.cpp
@@ -16,8 +16,8 @@
* not enough for allocating new sections.
*/
-// RUN: %clang %s -o %t.exe -Wl,--no-eh-frame-hdr -Wl,-q -DTINY
-// RUN: not llvm-bolt %t.exe -o %t.bolt.exe 2>&1 | \
+// RUN: %clang %s -o %t.tiny.exe -Wl,--no-eh-frame-hdr -Wl,-q -DTINY
+// RUN: not llvm-bolt %t.tiny.exe -o %t.tiny.bolt.exe 2>&1 | \
// RUN: FileCheck %s --check-prefix=CHECK-TINY
// CHECK-TINY: BOLT-ERROR: reserved space (1 byte) is smaller than required
``````````
</details>
https://github.com/llvm/llvm-project/pull/91866
More information about the llvm-commits
mailing list