Hello,

I am having trouble executing the newly created template unit tests. By template I mean those created by the Qt Creator.

I create a new unit test the standard way:

File -> New file or project -> Other project -> Qt Unit test

and select everything default. The problem is that when I run the test from the Qt Creator, all that happens is that the Terminal (Ubuntu) opens. The terminal itself does nothing. It is just an empty console.

Previously, the behaviour was something like this:

Qt Code:
  1. ********* Start testing of IntervalTest *********
  2. Config: Using QTest library 4.8.1, Qt 4.8.1
  3. PASS : IntervalTest::initTestCase()
  4. PASS : IntervalTest::testContains()
  5. PASS : IntervalTest::cleanupTestCase()
  6. Totals: 3 passed, 0 failed, 0 skipped
  7. ********* Finished testing of IntervalTest *********
To copy to clipboard, switch view to plain text mode 

Int the "Application Output" of the Qt Creator. But now nothing happens.

I tried to compare the .pro files of old Unit tests that are running without problem but I cannot find any discernible difference. Also the build configurations seem to be the same.

I started having this problem only recently, so I have no Idea what is causing it. Please help. I am using gcc on Ubuntu.