diff options
author | Reid Kleckner <rnk@google.com> | 2015-10-09 16:48:52 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-10-09 16:48:52 +0000 |
commit | 04ab116e41a37bc1cf4c2769ab0d7ea4f8d3bd75 (patch) | |
tree | 2864779f7fe11a12a165393abab930166b1e4565 /clang/unittests/Driver/ToolChainTest.cpp | |
parent | af7c9d012322017d841a244e53433b9de27a3452 (diff) | |
download | bcm5719-llvm-04ab116e41a37bc1cf4c2769ab0d7ea4f8d3bd75.tar.gz bcm5719-llvm-04ab116e41a37bc1cf4c2769ab0d7ea4f8d3bd75.zip |
Fix VFS GCC unittest on Windows
llvm-svn: 249846
Diffstat (limited to 'clang/unittests/Driver/ToolChainTest.cpp')
-rw-r--r-- | clang/unittests/Driver/ToolChainTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp index 18a7bbe0f81..a2d6f29e126 100644 --- a/clang/unittests/Driver/ToolChainTest.cpp +++ b/clang/unittests/Driver/ToolChainTest.cpp @@ -66,6 +66,9 @@ TEST(ToolChainTest, VFSGCCInstallation) { llvm::raw_string_ostream OS(S); C->getDefaultToolChain().printVerboseInfo(OS); } +#if LLVM_ON_WIN32 + std::replace(S.begin(), S.end(), '\\', '/'); +#endif EXPECT_EQ( "Found candidate GCC installation: " "/usr/lib/gcc/arm-linux-gnueabihf/4.6.3\n" |