test/lib: add process tests
[petitboot] / test / lib / Makefile.am
index bfcf9c25efaf98463c6905b01b6ca0cd18a45881..3b4d8cb4767d0428d77e378270027e8bb8af3c59 100644 (file)
@@ -16,15 +16,20 @@ AUTOMAKE_OPTIONS = parallel-tests
 AM_CPPFLAGS = \
        -I$(top_srcdir) \
        -I$(top_srcdir)/lib \
-       $(DEFAULT_CPPFLAGS)
+       -DDEBUG
 
-AM_CFLAGS = \
-       $(DEFAULT_CFLAGS)
+AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror
 
-list_test_SOURCES = list-test.c
-list_test_LDADD = ../../lib/libpbcore.la
+LDADD = ../../lib/libpbcore.la
 
-check_PROGRAMS = list-test
-TESTS = list-test
+check_PROGRAMS = list-test \
+       test-process-noargs \
+       test-process-sync \
+       test-process-sync-stdout \
+       test-process-async \
+       test-process-async-stdout \
+       test-process-both
+
+TESTS = $(check_PROGRAMS)
 
 MAINTAINERCLEANFILES = Makefile.in