[LLVMbugs] [Bug 8223] New: [Unit Test] All death tests fail when run from lit on Windows 7.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 24 19:46:56 PDT 2010


           Summary: [Unit Test] All death tests fail when run from lit on
                    Windows 7.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bigcheesegs at gmail.com
                CC: llvmbugs at cs.uiuc.edu

All unit tests that do a "death test" such as EXPECT_DEATH fail on Windows 7
when run from lit with:

[ FATAL ] ..\..\..\..\llvm\utils\unittest\googletest\gtest-port.cc(467)::
Condition success != 0 failed. Unable to creat
e a temporary file in C:\Windows\
CRT error: R6010
- abort() has been called

When run without lit (by directly invoking unittests/ADT/Debug/ADTTests.exe)
they all pass.

I assume this has something to do with lit changing the temp directory on
windows. Although I have no idea why it only affects these tests.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list