[all-commits] [llvm/llvm-project] 80c217: [BOLT] Fix tests that were unresolved when using l...
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Fri Aug 29 12:51:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 80c21797901b9c5a787774fdb94046ea285c1b83
https://github.com/llvm/llvm-project/commit/80c21797901b9c5a787774fdb94046ea285c1b83
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M bolt/test/permission.test
M bolt/test/runtime/X86/tail-duplication-constant-prop.s
Log Message:
-----------
[BOLT] Fix tests that were unresolved when using lit's internal shell
These two tests were unresolved when using lit's internal shell.
In the case of tail-duplication-constant-prop, it was because they were
using a echo $? line, and lit's internal echo implementation does not
support $? to get the return code. The test was never actually asserting
anything about the return code though, so I've removed the echo
commands.
In the case of permission.test, it was because umask was not supported
before #155850, and afterwards not without an argument. The test also
was not great at capturing what it was supposed to (leaving open
possibilites like the system umask and what Bolt was using happening to
match), so I've rewritten the test in the style of
llvm/test/tools/llvm-objcopy/ELF/respect-umask.test.
This fixes #102693.
Reviewers:
maksfb, yota9, ayermolo, yozhu, aaupov, rafaelauler, paschalis-mpeis
Reviewed By: maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/156082
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list