diff --git a/build.sh b/build.sh index 04fb7b42..357a1b6c 100755 --- a/build.sh +++ b/build.sh @@ -122,6 +122,7 @@ if [ "$1" = "--unit-test" ] \ || [ "$1" = "coverage" ] then cd src/test && make check-TESTS + cat *.log 2>/dev/null fi # make install diff --git a/src/test/ftermdetection-test.cpp b/src/test/ftermdetection-test.cpp index 620da0ed..45afc61c 100644 --- a/src/test/ftermdetection-test.cpp +++ b/src/test/ftermdetection-test.cpp @@ -1958,7 +1958,7 @@ pid_t FTermDetectionTest::forkProcess() tcsetattr (fd_slave, TCSANOW, &term_settings); closeStandardStreams(); - fd_stdin = dup(fd_slave); // PTY becomes stdin (0) + fd_stdin = dup(fd_slave); // PTY becomes stdin (0) fd_stdout = dup(fd_slave); // PTY becomes stdout (1) fd_stderr = dup(fd_slave); // PTY becomes stderr (2) diff --git a/src/test/main-test.inc b/src/test/main-test.inc index d2bb1122..84cd52a6 100644 --- a/src/test/main-test.inc +++ b/src/test/main-test.inc @@ -19,6 +19,7 @@ int main (int, char**) CPPUNIT_NS::TestRunner testrunner; testrunner.addTest (CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest()); testrunner.run (testresult); + // Outputting results in compiler format CPPUNIT_NS::CompilerOutputter compileroutputter ( &collectedresults , std::cerr );