X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=abc95bbd98e6d2c4d39f00289f89c53572560564;hp=e221bf2080c1918084ad92e59ec77badc980be5f;hb=32e2eac76dcdc7b54454c9f3731496f8947cdbbc;hpb=15c8cadd1173f681142a3f48319a203d7b917850 diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index e221bf2..abc95bb 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -28,10 +28,21 @@ LDADD = $(top_builddir)/lib/libpbcore.la libtest.ro TESTS = \ test-null \ test-grub2-single \ + test-grub2-default \ + test-grub2-default-index \ + test-grub2-default-multiword \ test-grub2-multiple-resolve \ + test-grub2-single-line-if \ + test-grub2-load-env \ + test-grub2-save-env \ + test-grub2-saved-default \ + test-grub2-nondefault-prefix \ test-grub2-f18-ppc64 \ test-grub2-ubuntu-13_04-x86 \ + test-grub2-lexer-error \ + test-grub2-parser-error \ test-kboot-single \ + test-yaboot-empty \ test-yaboot-single \ test-yaboot-partition \ test-yaboot-partition-override \ @@ -43,7 +54,12 @@ TESTS = \ test-yaboot-rh8-ppc64 \ test-pxe-empty \ test-pxe-single \ - test-pxe-initrd-in-append + test-pxe-initrd-in-append \ + test-pxe-mac-without-conf \ + test-pxe-ip-without-conf \ + test-pxe-non-url-conf \ + test-pxe-local \ + test-unresolved-remove $(TESTS): %: %.embedded-config.o $(TESTS): LDADD += $@.embedded-config.o @@ -57,12 +73,13 @@ extract_config = $(srcdir)/extract-config.awk parser_objs = \ $(top_srcdir)/discover/yaboot-parser.c \ $(top_srcdir)/discover/kboot-parser.c \ - $(top_srcdir)/discover/grub2-parser.c \ $(top_srcdir)/discover/pxe-parser.c \ $(top_srcdir)/discover/resource.c \ $(top_srcdir)/discover/paths.c \ $(top_srcdir)/discover/device-handler.c \ - $(top_srcdir)/discover/parser-conf.c + $(top_srcdir)/discover/parser-conf.c \ + $(top_srcdir)/discover/user-event.c \ + $(top_srcdir)/discover/event.c libtest_ro_SOURCES = \ main.c \ @@ -71,7 +88,10 @@ libtest_ro_SOURCES = \ parser-test.h \ $(parser_objs) -libtest.ro$(EXEEXT): $(libtest_ro_OBJECTS) +libtest_ro_LDADD = \ + ../../discover/grub2/grub2-parser.ro + +libtest.ro$(EXEEXT): $(libtest_ro_OBJECTS) $(libtest_ro_LDADD) $(LD) -o $@ -r $^ check_PROGRAMS = $(TESTS) libtest.ro