Added check target to qmake
[mdictionary] / tests / mDictionaryTests / mDictionaryTests.pro
index 1287425..d812473 100644 (file)
@@ -36,11 +36,6 @@ target.commands += ./mDictionaryTests
 INSTALLS += target
 
 
-coverage {
-        LIBS += -lgcov
-        QMAKE_CXXFLAGS += -ftest-coverage -fprofile-arcs -fno-elide-constructors
-}
-
 check.depends = $$TARGET
-check.commands = ./mDictionaryTests
+check.commands = ./$${TARGET}
 QMAKE_EXTRA_TARGETS += check