@@ -1,8 +1,8 @@ include ../extra.mk -SUBDIRS = ${TESTPLUGIN} +SUBDIRS = ${TESTPLUGIN} ${SUBPROCESS} CLEAN = testfile_bin.m PROG_NOINST = tests${PROG_SUFFIX} SRCS = OFArrayTests.m \ @@ -22,13 +22,15 @@ OFPBKDF2Tests.m \ OFPropertyListTests.m \ OFScryptTests.m \ ${USE_SRCS_PLUGINS} \ ${USE_SRCS_SOCKETS} \ + ${USE_SRCS_SUBPROCESSES} \ testfile_bin.m SRCS_PLUGINS = OFPluginTests.m SRCS_SOCKETS = OFSocketTests.m +SRCS_SUBPROCESSES = OFSubprocessTests.m include ../buildsys.mk testfile_bin.m: testfile.bin ${SHELL} ../utils/objfw-embed testfile.bin testfile.bin $@ @@ -148,11 +150,12 @@ CPPFLAGS += -I../src \ -I../src/exceptions \ -I../src/runtime \ -I../src/test \ -I.. \ - -DOBJFWTEST_LOCAL_INCLUDES + -DOBJFWTEST_LOCAL_INCLUDES \ + -DPROG_SUFFIX=\"${PROG_SUFFIX}\" # Repetition is required for Wii U, as otherwise it cannot find main. Just # moving -lobjfwtest later doesn't work either, as then the linker cannot find # ObjFW symbols. So the only solution is to list everything twice. LIBS := -L../src/test \ -lobjfwtest \