Added unit test for FTermDetection with a terminal simulation
This commit is contained in:
parent
55d3e2a638
commit
0433a47ec1
1
build.sh
1
build.sh
|
@ -122,6 +122,7 @@ if [ "$1" = "--unit-test" ] \
|
||||||
|| [ "$1" = "coverage" ]
|
|| [ "$1" = "coverage" ]
|
||||||
then
|
then
|
||||||
cd src/test && make check-TESTS
|
cd src/test && make check-TESTS
|
||||||
|
cat *.log 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make install
|
# make install
|
||||||
|
|
|
@ -19,6 +19,7 @@ int main (int, char**)
|
||||||
CPPUNIT_NS::TestRunner testrunner;
|
CPPUNIT_NS::TestRunner testrunner;
|
||||||
testrunner.addTest (CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest());
|
testrunner.addTest (CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest());
|
||||||
testrunner.run (testresult);
|
testrunner.run (testresult);
|
||||||
|
|
||||||
// Outputting results in compiler format
|
// Outputting results in compiler format
|
||||||
CPPUNIT_NS::CompilerOutputter compileroutputter ( &collectedresults
|
CPPUNIT_NS::CompilerOutputter compileroutputter ( &collectedresults
|
||||||
, std::cerr );
|
, std::cerr );
|
||||||
|
|
Loading…
Reference in New Issue