X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=e4f9b9cfbc466d7e1c9bb02cf2bfa8f6ffefe357;hp=685d7acbbd1c6ad30e1134627f1b44fdba869cf1;hb=939660528bf1568c55b6dcf982cc9020c1dbcdd2;hpb=c43847fe14e6b32cc58b8e8168f78e72ef94316d diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index 685d7ac..e4f9b9c 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -16,20 +16,28 @@ parser_TESTS = \ test/parser/test-grub2-single \ test/parser/test-grub2-default \ test/parser/test-grub2-empty \ + test/parser/test-grub2-noeol \ + test/parser/test-grub2-menuentry-formats \ + test/parser/test-grub2-if-formats \ test/parser/test-grub2-default-index \ test/parser/test-grub2-default-multiword \ + test/parser/test-grub2-implicit-default-unset \ + test/parser/test-grub2-implicit-default-invalid \ test/parser/test-grub2-multiple-resolve \ test/parser/test-grub2-multiple-id \ test/parser/test-grub2-single-line-if \ test/parser/test-grub2-load-env \ test/parser/test-grub2-save-env \ + test/parser/test-grub2-save-env-dash-f \ test/parser/test-grub2-saved-default \ test/parser/test-grub2-nondefault-prefix \ test/parser/test-grub2-f18-ppc64 \ test/parser/test-grub2-f20-ppc64 \ test/parser/test-grub2-ubuntu-13_04-x86 \ + test/parser/test-grub2-sles-btrfs-snapshot \ test/parser/test-grub2-lexer-error \ test/parser/test-grub2-parser-error \ + test/parser/test-grub2-test-file-ops \ test/parser/test-kboot-single \ test/parser/test-yaboot-empty \ test/parser/test-yaboot-single \ @@ -50,6 +58,7 @@ parser_TESTS = \ test/parser/test-pxe-ip-without-conf \ test/parser/test-pxe-non-url-conf \ test/parser/test-pxe-local \ + test/parser/test-pxe-ipappend \ test/parser/test-pxe-pathprefix-with-conf \ test/parser/test-pxe-non-url-pathprefix-with-conf \ test/parser/test-pxe-pathprefix-discover \ @@ -76,12 +85,12 @@ $(parser_TESTS): AM_CPPFLAGS += \ -I$(top_srcdir)/discover \ -DLOCAL_STATE_DIR='"$(localstatedir)"' $(parser_TESTS): LDADD += $@.embedded-config.o test/parser/libtest.ro $(core_lib) -$(parser_TESTS): %: %.embedded-config.o test/parser/libtest.ro +$(parser_TESTS): %: %.embedded-config.o test/parser/libtest.ro $(core_lib) extract_config = $(srcdir)/test/parser/extract-config.awk %.embedded-config.c: %.c $(extract_config) - $(AWK) -f $(extract_config) $< > $@ + $(AM_V_GEN)$(AWK) -f $(extract_config) $< > $@ # objects under test @@ -89,6 +98,7 @@ test_parser_libtest_ro_SOURCES = \ test/parser/main.c \ test/parser/utils.c \ test/parser/handler.c \ + test/parser/network.c \ test/parser/parser-test.h \ discover/yaboot-parser.c \ discover/kboot-parser.c \ @@ -106,13 +116,14 @@ test_parser_libtest_ro_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(top_srcdir)/discover \ -I$(top_srcdir)/discover/grub2 \ + -I$(top_builddir)/discover/grub2 \ -DPETITBOOT_TEST \ -DLOCAL_STATE_DIR='"$(localstatedir)"' \ -DTEST_CONF_BASE='"$(top_srcdir)/test/parser/data"' test/parser/libtest.ro$(EXEEXT): $(test_parser_libtest_ro_OBJECTS) \ $(test_parser_libtest_ro_LDADD) - $(LD) -o $@ -r $^ + $(AM_V_GEN)$(LD) -o $@ -r $^ EXTRA_DIST += $(check_DATA) $(extract_config)