X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Flib%2FMakefile.am;h=047fcb237ea3becbdb1042f541d6f846a6b6d496;hp=16052c62eb116818351959f44f9b07237537b52a;hb=47c55b245aab729a9c23bfb830329022c7b25d83;hpb=1fe6312c2d0eee5d476c08bee01f0a6bfc9c8c01 diff --git a/test/lib/Makefile.am b/test/lib/Makefile.am index 16052c6..047fcb2 100644 --- a/test/lib/Makefile.am +++ b/test/lib/Makefile.am @@ -11,19 +11,28 @@ # 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 +if WITH_OPENSSL +lib_TESTS += \ + test/lib/test-security-openssl-verify \ + test/lib/test-security-openssl-decrypt +endif -AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror +$(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)