X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=b93bd31c1d42c3cf6ec3a3cecbeabf8197ee6fb1;hp=eff3ece474ec5bba3aab029114f8dd8fc5efbf01;hb=4dc604b496f388e6896d46bb02d109103c316e4f;hpb=daa56dcba2d7510666aae8d427e491acc74e8975 diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index eff3ece..b93bd31 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -25,11 +25,20 @@ AM_CPPFLAGS = \ AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror TESTS = test-null \ - test-yaboot-single + test-grub2-single \ + test-grub2-multiple-resolve \ + test-grub2-f18-ppc64 \ + test-grub2-ubuntu-13_04-x86 \ + test-kboot-single \ + test-yaboot-single \ + test-yaboot-external \ + test-yaboot-rh8-ppc64 check_PROGRAMS = $(TESTS) check_LIBRARIES = $(test_libs) -check_DATA = +check_DATA = data/grub2-f18-ppc64.conf \ + data/grub2-ubuntu-13_04-x86.conf \ + data/yaboot-rh8-ppc64.conf common_libs = $(top_builddir)/lib/libpbcore.la test_libs = libtest.o @@ -39,6 +48,8 @@ libtest.o: $(libtest_o_OBJECTS) # objects under test parser_test_objs = $(top_srcdir)/discover/yaboot-parser.c \ + $(top_srcdir)/discover/kboot-parser.c \ + $(top_srcdir)/discover/grub2-parser.c \ $(top_srcdir)/discover/resource.c \ $(top_srcdir)/discover/paths.c \ $(top_srcdir)/discover/device-handler.c \ @@ -55,9 +66,11 @@ $(check_PROGRAMS): LDADD += $@.embedded-config.o extract_config = $(srcdir)/extract-config.awk %.embedded-config.c: %.c $(extract_config) - gawk --file=$(extract_config) $^ > $@ + $(AWK) -f $(extract_config) $< > $@ EXTRA_DIST = $(check_DATA) $(extract_config) CLEANFILES = $(foreach f, $(check_PROGRAMS), \ $(f).embedded-config.c $(f).embedded-config.o) + +MAINTAINERCLEANFILES = Makefile.in