From 5d16719922866622fc0f42c570b9934f595e3c33 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 15 May 2013 15:28:57 +0800 Subject: test: Replace parser tests with empty framework This change is a major rework of the parser tests. Currently, the parser tests just run the parsers on each subdir of data/, but we don't actually check the results. Rather than just running parsers and expecting a certain fixed output, the new tests are arbitraty (short!) C programs. This allows us to set up the device configuration / discover context etc in whatever manner necessary, and check that the boot options that the parsers emit are correct. This change removes all of the old tests, and adds a new "null" test. Actual tests will be added in subsequent changes. Signed-off-by: Jeremy Kerr --- test/parser/data/kboot-06/etc/kboot.conf | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 test/parser/data/kboot-06/etc/kboot.conf (limited to 'test/parser/data/kboot-06/etc/kboot.conf') diff --git a/test/parser/data/kboot-06/etc/kboot.conf b/test/parser/data/kboot-06/etc/kboot.conf deleted file mode 100644 index 591c51b..0000000 --- a/test/parser/data/kboot-06/etc/kboot.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Ubuntu feisty kboot.conf -message=/etc/kboot.msg -timeout=300 -default=live -live='/casper/vmlinux initrd=/casper/initrd.gz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --' -live_nosplash='/casper/vmlinux initrd=/casper/initrd.gz file=/cdrom/preseed/ubuntu.seed boot=casper quiet --' -driverupdates='/casper/vmlinux initrd=/casper/initrd.gz file=/cdrom/preseed/ubuntu.seed boot=casper debian-installer/driver-update=true quiet splash --' -check='/casper/vmlinux initrd=/casper/initrd.gz boot=casper integrity-check quiet splash --' - -- cgit v1.2.1