util/hooks: Don't update DT when ttyS* console active
[petitboot] / test / lib / Makefile.am
index 16052c62eb116818351959f44f9b07237537b52a..9636b08d6a6b83c359f1cc51608ffd3f56b1bdd8 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 \
-       -DDEBUG
+$(lib_TESTS): LIBS += $(core_lib)
 
-AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror
-
-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)