mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 00:06:46 +00:00
Appease MSVC builds by #ifdef wrapping runAndGetCommandOutput tests. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d069ea7e62
commit
9a37b8328d
@ -249,6 +249,7 @@ CPU part : 0x0a1
|
||||
"tsv110");
|
||||
}
|
||||
|
||||
#if defined(__APPLE__) || defined(_AIX)
|
||||
static bool runAndGetCommandOutput(
|
||||
const char *ExePath, ArrayRef<llvm::StringRef> argv,
|
||||
std::unique_ptr<char[]> &Buffer, off_t &Size) {
|
||||
@ -288,6 +289,7 @@ TEST_F(HostTest, DummyRunAndGetCommandOutputUse) {
|
||||
// disabled.
|
||||
(void) runAndGetCommandOutput;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
TEST_F(HostTest, getMacOSHostVersion) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user