search for: addtest

Displaying 2 results from an estimated 2 matches for "addtest".

Did you mean: adtest
2010 May 27
1
[PATCH matahari] Introduces a multiplexer for taking requests and mapping them to APIs.
...char* +test_callback_function(const char* input) +{ + return input; +} + +TestMultiplexer::TestMultiplexer() + :TestCase("TestMultiplexer") +{} + +TestSuite* +TestMultiplexer::suite() +{ + CppUnit::TestSuite *result = new CppUnit::TestSuite("TestMultiplexer"); + + result->addTest(new CppUnit::TestCaller<TestMultiplexer> + ("testBadAPINameGetsNull", + &TestMultiplexer::testUnregisteredAPIIsNull)); + result->addTest(new CppUnit::TestCaller<TestMultiplexer> + ("testRegisterAPIMethod", + &TestMultiplexer::testRegisterAPI...
2008 Feb 19
1
[LLVMdev] llc: assertion fails in bitreader.cpp
Hi all, I've used the llvmgcc to compile a quite simple bit of c-code: >short addtest(short a, short b) >{ > return a+b; >} When I'm feeding llc (llvm-2.1-version) with the resulting bytecode, it fails with this error: llc: BitcodeReader.cpp:1040: bool llvm::BitcodeReader::ParseModule(const std::string&): Assertion `Func->getFunctionType()->getParamAttrs() =...