Another problem is, that I don't get any diagnostics. In the documentation it states that QCOMPARE should give a more descriptive error message, but as you can see, I get nothing.
You can either run ctest with the "-V" ("--verbose") option or you run the test individually.
Once you have multiple tests it is usually nice to have ctest just run through all with "summary" output and then one can investigate any test that fails more closely.
Bookmarks