aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
diff options
context:
space:
mode:
authorDavid Truby <david.truby@arm.com>2024-11-27 00:43:56 +0000
committerGitHub <noreply@github.com>2024-11-27 00:43:56 +0000
commite335563806e0466f33ecce80a9fd5a39a3aead47 (patch)
treed237bb8fe803d4698ab9db07745f0717d09a76aa /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
parentd3c103b80e6e8b001c2a22bd2f7afbdcf1f7b70a (diff)
downloadllvm-e335563806e0466f33ecce80a9fd5a39a3aead47.zip
llvm-e335563806e0466f33ecce80a9fd5a39a3aead47.tar.gz
llvm-e335563806e0466f33ecce80a9fd5a39a3aead47.tar.bz2
[NFC][flang] Fix execute_command_line test for odd environments (#117714)
One of the execute_command_line tests currently runs `cat` on an invalid file and checks its return value, but since we don't control `cat` or the user's path, the return value might not be reliably stable on a per-platform basis. For example, if `git` is installed on Windows in certain configurations it adds a directory to the path containing a `cat` with a different set of error codes to the default Windows one. This patch changes the test to use the `not` binary built by LLVM for testing purposes, which should always return 1 on any platform regardless of the user's environment.
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions