Fix unit tests
This commit is contained in:
@ -3,7 +3,8 @@ TEMPLATE = app
|
||||
QT += core testlib
|
||||
QT -= gui widgets
|
||||
|
||||
CONFIG += c++17 qt console warn_on depend_includepath testcase
|
||||
CONFIG += c++23 qt console warn_on depend_includepath testcase
|
||||
QMAKE_CXXFLAGS += -std=c++2b
|
||||
CONFIG -= app_bundle
|
||||
|
||||
SOURCES += \
|
||||
@ -16,23 +17,6 @@ include($$CPPUTILS_DIR/cpputils_src.pri)
|
||||
include($$CPPUTILS_DIR/test/cpputilstestutils.pri)
|
||||
include($$CPPUTILS_DIR/test/cpputilstestutils_src.pri)
|
||||
|
||||
equals(CLONE_EXPECTED, 1) {
|
||||
EXPECTED_DIR = $$PWD/expected
|
||||
|
||||
message("Checking out expected...")
|
||||
exists($$EXPECTED_DIR/.git): {
|
||||
system("git -C $$EXPECTED_DIR pull")
|
||||
} else {
|
||||
system("git clone https://github.com/0xFEEDC0DE64/expected.git $$EXPECTED_DIR")
|
||||
}
|
||||
} else: exists($$PWD/../../expected/include) {
|
||||
EXPECTED_DIR = $$PWD/../../expected
|
||||
} else {
|
||||
error("expected not found, please run git submodule update --init")
|
||||
}
|
||||
|
||||
include($$EXPECTED_DIR/expected.pri)
|
||||
|
||||
equals(CLONE_FMT, 1) {
|
||||
FMT_DIR = $$PWD/fmt
|
||||
|
||||
|
Reference in New Issue
Block a user