[LLVMbugs] [Bug 18335] New: LLVM (and clang) tests leave files in /tmp

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 28 01:28:57 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18335

            Bug ID: 18335
           Summary: LLVM (and clang) tests leave files in /tmp
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Well, two bugs actually:

1. some tests leave files in /tmp after they're done,

2. some (possibly all :)) tests do not seem to respect TMPDIR environment
variable and use /tmp instead of the directory specified there.

As a result, after each run of the test suite I get a few dozens of random .c,
.m, .in, .h files in /tmp. I'd really preferred that:

1. all tests placed their files in $TMPDIR, or even in a single subdirectory of
that,

2. all tests removed their files after success (and xfail?).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131228/47988b0a/attachment.html>


More information about the llvm-bugs mailing list