10 Commits

Author SHA1 Message Date
Richard W.M. Jones
6d32773e81 tests: Run the tests in parallel.
Before this change the tests ran in about 12m34 and afterwards in
about 6m20, although the real change is more dramatic if you only run
tests from the tests/ subdirectory (as language tests still run serially).

This breaks valgrinding for now, which I intend to fix properly later.
2021-03-18 16:28:55 +00:00
Richard W.M. Jones
76c0a67d30 build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.
By adding common CLEANFILES and DISTCLEANFILES variables to
common-rules.mk, we can remove these from most other Makefiles, and
also clean files more consistently.

Note that bin_PROGRAMS are already cleaned by 'make clean', so I
removed cases where these were unnecessarily added to CLEANFILES.
2016-08-25 16:54:34 +01:00
Pino Toscano
d98c9c0e0b Fix shebang in perl scripts
Instead of hardcoding the location of perl (assuming it is installed in
/usr), use /usr/bin/env to run it, and thus picking it from $PATH.
This makes it possible to run these scripts also on installations with
perl in a different prefix than /usr.

Also, given that we want enable warnings on scripts, turn the -w
previously in shebang to explicit "use warnings;" in scripts which
didn't have it before.
2015-10-05 15:43:35 +02:00
Pino Toscano
42ff22a909 tests/syslinux: add /usr/lib/SYSLINUX as directory for mbr.bin
Yet another new location (found on recent Debian/sid) for mbr.bin.
2015-07-21 16:54:29 +02:00
Pino Toscano
787c42d6eb tests/syslinux: add /usr/lib/syslinux/bios as directory for mbr.bin
On Archlinux that is the location of mbr.bin.
2014-08-15 16:24:09 +01:00
Pino Toscano
a880bc1eb0 tests/syslinux: add new syslinux 6+ path of mbr.bin
Reported in https://bugs.debian.org/746748.
2014-05-09 12:20:33 +02:00
Pino Toscano
f46d53be18 tests/syslinux: factorize search for mbr.bin 2014-05-09 12:19:47 +02:00
Richard W.M. Jones
f02fddc26b tests: Update miscellaneous tests to use disk-create API.
Instead of calling out to qemu-img / truncate.
2014-01-28 21:02:11 +00:00
Richard W.M. Jones
5057a8f344 tests: Add $srcdir in several places for test files located in source directory. 2013-04-25 14:21:55 +01:00
Richard W.M. Jones
dee1dd64c3 New APIs: Add support for syslinux and extlinux (bootloaders).
This also adds tests of SYSLINUX and EXTLINUX which create bootable
guests.
2013-04-04 18:31:41 +01:00