X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=65dd7fcf491d13688e174229686f1efc67c073ec;hp=f1458cd279728f2ba45cd8ca6c1b53c99b86a579;hb=b8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf;hpb=f2747434dcdfe71c3a4d1b841070f4c9d8dc4965 diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index f1458cd..65dd7fc 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -28,15 +28,31 @@ 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-f18-ppc64 \ test-grub2-ubuntu-13_04-x86 \ + test-grub2-lexer-error \ + test-grub2-parser-error \ test-kboot-single \ test-yaboot-single \ + test-yaboot-partition \ + test-yaboot-partition-override \ test-yaboot-external \ + test-yaboot-root-global \ + test-yaboot-root-override \ + test-yaboot-device-override \ + test-yaboot-default \ test-yaboot-rh8-ppc64 \ + test-pxe-empty \ test-pxe-single \ - test-pxe-initrd-in-append + test-pxe-initrd-in-append \ + test-pxe-default $(TESTS): %: %.embedded-config.o $(TESTS): LDADD += $@.embedded-config.o @@ -50,7 +66,6 @@ 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 \ @@ -64,7 +79,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