Skip to content

[BOLT] Fix race condition in a test #91866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2024
Merged

[BOLT] Fix race condition in a test #91866

merged 1 commit into from
May 12, 2024

Conversation

maksfb
Copy link
Contributor

@maksfb maksfb commented May 11, 2024

Fix race condition in internal NFC test.

Fix race condition in internal NFC test.
@llvmbot
Copy link
Member

llvmbot commented May 11, 2024

@llvm/pr-subscribers-bolt

Author: Maksim Panchenko (maksfb)

Changes

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 --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

@maksfb maksfb merged commit c8864bc into llvm:main May 12, 2024
6 checks passed
@maksfb maksfb deleted the gh-fix-test branch June 4, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants