Skip to content

Commit c8864bc

Browse files
authored
[BOLT] Fix race condition in a test (#91866)
Fix race condition in internal NFC test.
1 parent 63224d7 commit c8864bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bolt/test/runtime/bolt-reserved.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
* not enough for allocating new sections.
1717
*/
1818

19-
// RUN: %clang %s -o %t.exe -Wl,--no-eh-frame-hdr -Wl,-q -DTINY
20-
// RUN: not llvm-bolt %t.exe -o %t.bolt.exe 2>&1 | \
19+
// RUN: %clang %s -o %t.tiny.exe -Wl,--no-eh-frame-hdr -Wl,-q -DTINY
20+
// RUN: not llvm-bolt %t.tiny.exe -o %t.tiny.bolt.exe 2>&1 | \
2121
// RUN: FileCheck %s --check-prefix=CHECK-TINY
2222

2323
// CHECK-TINY: BOLT-ERROR: reserved space (1 byte) is smaller than required

0 commit comments

Comments
 (0)