From ff8cf4fe25aac45a6a45340510dfdc9a324f2cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 20 Apr 2019 19:07:14 +0200 Subject: [PATCH] gui/test: Add projectfile test --- .travis.yml | 10 +++------- gui/test/projectfile/projectfile.pro | 3 +++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 576f1ac3e..80ecb7b74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -237,13 +237,9 @@ script: - make -s -j2 - cd ../ # Build gui/test -# - cd gui/test -# - qmake -# - make -# - filelist/test-filelist -# - projectfile/test-projectfile -# - xmlreportv2/test-xmlreportv2 -# - cd ../.. + - cd gui/test/projectfile + - qmake && make && ./test-projectfile + - cd - # Build triage - cd ./tools/triage - git clean -dfx . diff --git a/gui/test/projectfile/projectfile.pro b/gui/test/projectfile/projectfile.pro index 71ab388ad..5a6c7fdd5 100644 --- a/gui/test/projectfile/projectfile.pro +++ b/gui/test/projectfile/projectfile.pro @@ -4,6 +4,9 @@ DEPENDPATH += . INCLUDEPATH += . ../../../externals/simplecpp OBJECTS_DIR = ../build MOC_DIR = ../build +QT -= gui +QT += core +CONFIG += console include(../common.pri)