mirror of https://github.com/KLayout/klayout.git
[consider merging] Functional ut_runner binary also with -without-qt
This commit is contained in:
parent
ba19b3374a
commit
b56220d36d
|
|
@ -404,7 +404,7 @@ HEADERS = \
|
|||
dbShapeCollection.h \
|
||||
dbShapeCollectionUtils.h
|
||||
|
||||
!equals(HAVE_QT, "0") || !equals(HAVE_PYTHON, "0") {
|
||||
!equals(HAVE_QT, "0") {
|
||||
|
||||
RESOURCES = \
|
||||
dbResources.qrc \
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ HEADERS = \
|
|||
drcCommon.h \
|
||||
drcForceLink.h \
|
||||
|
||||
!equals(HAVE_QT, "0") || !equals(HAVE_PYTHON, "0") {
|
||||
!equals(HAVE_QT, "0") {
|
||||
RESOURCES = \
|
||||
drcResources.qrc
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,8 +31,10 @@ SOURCES = \
|
|||
libBasicStrokedPolygon.cc \
|
||||
libBasicText.cc
|
||||
|
||||
!equals(HAVE_QT, "0") {
|
||||
RESOURCES = \
|
||||
libResources.qrc
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$TL_INC $$GSI_INC $$DB_INC
|
||||
DEPENDPATH += $$TL_INC $$GSI_INC $$DB_INC
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ HEADERS = \
|
|||
lvsCommon.h \
|
||||
lvsForceLink.h \
|
||||
|
||||
!equals(HAVE_QT, "0") || !equals(HAVE_PYTHON, "0") {
|
||||
!equals(HAVE_QT, "0") {
|
||||
RESOURCES = \
|
||||
lvsResources.qrc
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ DEPENDPATH += $$RBA_INC $$TL_INC $$DB_INC $$GSI_INC
|
|||
|
||||
LIBS += -L$$DESTDIR_UT -lklayout_rba -lklayout_tl -lklayout_db -lklayout_gsi
|
||||
|
||||
!equals(HAVE_QT, "0") || !equals(HAVE_PYTHON, "0") {
|
||||
!equals(HAVE_QT, "0") {
|
||||
RESOURCES = \
|
||||
rba_unit_tests.qrc
|
||||
}
|
||||
|
|
|
|||
|
|
@ -433,6 +433,8 @@ run_tests (const std::vector<tl::TestBase *> &selected_tests, bool editable, boo
|
|||
static int
|
||||
main_cont (int &argc, char **argv)
|
||||
{
|
||||
ut::TestConsole console (stdout);
|
||||
|
||||
std::unique_ptr<rba::RubyInterpreter> ruby_interpreter;
|
||||
std::unique_ptr<pya::PythonInterpreter> python_interpreter;
|
||||
|
||||
|
|
@ -452,8 +454,6 @@ main_cont (int &argc, char **argv)
|
|||
|
||||
int result = 0;
|
||||
|
||||
ut::TestConsole console (stdout);
|
||||
|
||||
try {
|
||||
|
||||
pya::PythonInterpreter::initialize ();
|
||||
|
|
|
|||
Loading…
Reference in New Issue