[LLVMbugs] [Bug 5738] New: Helper libraries for unit testing

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 9 14:12:34 PST 2009


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

           Summary: Helper libraries for unit testing
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Support Libraries
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jyasskin at google.com
                CC: llvmbugs at cs.uiuc.edu, nlewycky at google.com


We're starting to write a collection of functions and classes helpful for unit
testing, but we don't have anywhere to put them. For example,
http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/JIT/JITTest.cpp?view=markup
contains a RecordingJITMemoryManager class and a LoadAssembly(char*) helper
function, both of which could be useful for other tests.

We probably want a couple different helper libraries with different
dependencies so that the VMCore unit tests don't have to depend on the JIT.

I'd like someone who knows the build system to set up the Makefiles
appropriately so that individual test writers like me can just add
files/functions to the right places to share them.


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