[LLVMbugs] [Bug 10213] New: "lit not-existing.c" prints "contained no tests" warning

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 27 22:06:29 PDT 2011


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

           Summary: "lit not-existing.c" prints "contained no tests"
                    warning
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org


I would expect:

$ rm frotz.c
$ lit frotz.c

to produce an error about the file not existing.  Instead it prints a very limp
warning:


lit.py: lit.cfg:143: note: using clang:
'/Volumes/Data/Users/sabre/cvs/llvm-2/Debug+Asserts/bin/clang'
lit.py: main.py:517: warning: input 'frotz.c' contained no tests
-- Testing: 0 tests, 16 threads --
Testing Time: 0.00s

1 warning(s) in tests.


which is easy to miss, and I commonly get when I forget to include the full
path to a testcase I'm working with.

-- 
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