Remove the qemu tests --- they've never been reliable and cause problems for
people.
This commit is contained in:
parent
1fb1016349
commit
3badc8ece7
5
README
5
README
|
@ -63,11 +63,6 @@ Requirements:
|
||||||
- (optionally) ninja; if you've got this, this will be autodetected and give
|
- (optionally) ninja; if you've got this, this will be autodetected and give
|
||||||
you faster builds.
|
you faster builds.
|
||||||
|
|
||||||
- (optionally) the qemu suite: if you have this installed, the build system
|
|
||||||
will detect it automatically and run the test suites for the supported
|
|
||||||
architectures. Get both the qemu-system-* platform emulators and the qemu-*
|
|
||||||
userland emulators (only works on Linux).
|
|
||||||
|
|
||||||
- about 115MB free in /tmp (or some other temporary directory).
|
- about 115MB free in /tmp (or some other temporary directory).
|
||||||
|
|
||||||
- about 15MB in the target directory.
|
- about 15MB in the target directory.
|
||||||
|
|
|
@ -23,9 +23,9 @@ vars.plats = {
|
||||||
vars.plats_with_tests = {
|
vars.plats_with_tests = {
|
||||||
"cpm",
|
"cpm",
|
||||||
"linux68k",
|
"linux68k",
|
||||||
"linux386",
|
--"linux386",
|
||||||
"linuxppc",
|
"linuxppc",
|
||||||
"linuxmips",
|
--"linuxmips",
|
||||||
"pc86",
|
"pc86",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
include("tests/plat/build.lua")
|
|
||||||
|
|
||||||
plat_testsuite {
|
|
||||||
name = "tests",
|
|
||||||
plat = "linux386",
|
|
||||||
method = "qemu-i386"
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
include("tests/plat/build.lua")
|
|
||||||
|
|
||||||
plat_testsuite {
|
|
||||||
name = "tests",
|
|
||||||
plat = "linuxmips",
|
|
||||||
method = "qemu-mipsel",
|
|
||||||
skipsets = {
|
|
||||||
"long-long",
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -12,29 +12,9 @@ errcho() {
|
||||||
|
|
||||||
get_test_output() {
|
get_test_output() {
|
||||||
case $method in
|
case $method in
|
||||||
qemu-system-*)
|
|
||||||
if ! command -v $method >/dev/null 2>&1 ; then
|
|
||||||
errcho "Warning: $method not installed, skipping test"
|
|
||||||
echo "@@SKIPPED"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
case $method in
|
|
||||||
qemu-system-i386) img="-drive file=$img,if=floppy,format=raw" ;;
|
|
||||||
qemu-system-ppc) img="-kernel $img" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
$timeoutprog -t $timeout -- $method -nographic $img 2>&1
|
|
||||||
;;
|
|
||||||
|
|
||||||
qemu-*)
|
qemu-*)
|
||||||
if ! command -v $method >/dev/null 2>&1 ; then
|
errcho "qemu tests no longer supported (method $method)"
|
||||||
errcho "Warning: $method not installed, skipping test"
|
exit 1
|
||||||
echo "@@SKIPPED"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
$method $img 2>&1
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue