Fixed in r257286, sorry for the breakage.
On Sun, Jan 10, 2016 at 7:59 AM, Ismail Donmez <ism...@i10z.com> wrote: > Hi, > >> + NormalizedFS.setCurrentWorkingDirectory("/b/c"); >> + NormalizedFS.setCurrentWorkingDirectory("."); >> + ASSERT_EQ("/b/c", NormalizedFS.getCurrentWorkingDirectory().get()); >> + NormalizedFS.setCurrentWorkingDirectory(".."); >> + ASSERT_EQ("/b", NormalizedFS.getCurrentWorkingDirectory().get()); >> } > > This test fails on Windows (MSVC 2015 x64): > > ******************** TEST 'Clang-Unit :: > Basic/BasicTests.exe/InMemoryFileSystemTest.WorkingDirectory' FAILED > **************** > **** > Note: Google Test filter = InMemoryFileSystemTest.WorkingDirectory > [==========] Running 1 test from 1 test case. > [----------] Global test environment set-up. > [----------] 1 test from InMemoryFileSystemTest > [ RUN ] InMemoryFileSystemTest.WorkingDirectory > ..\tools\clang\unittests\Basic\VirtualFileSystemTest.cpp(663): error: > Value of: NormalizedFS.getCurrentWorkingDirectory().get( > ) > Actual: "/b\\c" > Expected: "/b/c" > [ FAILED ] InMemoryFileSystemTest.WorkingDirectory (0 ms) > [----------] 1 test from InMemoryFileSystemTest (0 ms total) > > [----------] Global test environment tear-down > [==========] 1 test from 1 test case ran. (0 ms total) > [ PASSED ] 0 tests. > [ FAILED ] 1 test, listed below: > [ FAILED ] InMemoryFileSystemTest.WorkingDirectory > > 1 FAILED TEST > > ******************** _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits