]> git.ozlabs.org Git - petitboot/blobdiff - test/lib/Makefile.am
ui/ncurses: Implement non-boot-cancelling keys
[petitboot] / test / lib / Makefile.am
index bfcf9c25efaf98463c6905b01b6ca0cd18a45881..047fcb237ea3becbdb1042f541d6f846a6b6d496 100644 (file)
 #  along with this program; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-AUTOMAKE_OPTIONS = parallel-tests
+lib_TESTS = \
+       test/lib/list-test \
+       test/lib/test-process-noargs \
+       test/lib/test-process-sync \
+       test/lib/test-process-sync-stdout \
+       test/lib/test-process-stderr \
+       test/lib/test-process-stderr-stdout \
+       test/lib/test-process-async \
+       test/lib/test-process-async-stdout \
+       test/lib/test-process-parent-stdout \
+       test/lib/test-process-both \
+       test/lib/test-process-stdout-eintr \
+       test/lib/test-fold
 
-AM_CPPFLAGS = \
-       -I$(top_srcdir) \
-       -I$(top_srcdir)/lib \
-       $(DEFAULT_CPPFLAGS)
+if WITH_OPENSSL
+lib_TESTS += \
+       test/lib/test-security-openssl-verify \
+       test/lib/test-security-openssl-decrypt
+endif
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
+$(lib_TESTS): LIBS += $(core_lib)
+$(lib_TESTS): AM_CPPFLAGS += -DTEST_LIB_DATA_BASE='"$(abs_top_srcdir)/test/lib/data"'
 
-list_test_SOURCES = list-test.c
-list_test_LDADD = ../../lib/libpbcore.la
-
-check_PROGRAMS = list-test
-TESTS = list-test
-
-MAINTAINERCLEANFILES = Makefile.in
+check_PROGRAMS += $(lib_TESTS)
+TESTS += $(lib_TESTS)