Commit graph

9 commits

Author SHA1 Message Date
Fabian
51bd604cc5 remove "use strict" (is default in es6 modules) 2025-04-16 09:26:13 -07:00
Rob Blanckaert
a9219613af Switch to es6 modules. 2025-04-06 08:53:49 -07:00
Fabian
acb8ad5423 Avoid console.assert (doesn't throw) 2020-12-31 19:14:30 -06:00
Fabian
7d627ac13a Make tests a bit more robust 2020-08-30 19:29:53 -05:00
Ernest Wong
129269fc14 Add devices test to CI + update tests to linux4 2020-08-30 19:27:07 -05:00
Fabian
f7d7327753 qemu tests: Dump version 2020-07-21 20:10:14 -05:00
Amaan Cheval
f6cceafac1 qemutests: Fix bug where test would hang forever sometimes
The stdout stream is not line-buffered, which means that occasionally the
chunk/Buffer of data that comes in immediately after we run the commands may be:

~% chmod +x /mnt/test-i386
~% /mnt/test-i386 > /mnt/result
~% echo test fini''shed
test finished
~%

Note how the data ends with the prompt, not in "test finished\n" - this will
cause the test to run indefinitely.
2020-07-21 20:10:14 -05:00
Fabian
acfc4372c5 Use Westmere instead of max cpu for qemu (max is not available on older qemu versions) 2020-07-21 20:10:14 -05:00
Fabian
4379e5ef3e Use qemu as a test oracle instead of the local machine
Recently distributions started disabling the CONFIG_MODIFY_LDT_SYSCALL
kernel config, breaking parts of the qemu test. qemu is very suitable to
run these tests in the same configuration as v86 (booting from
linux3.iso, exchanging files using 9p fs and controlling via serial
console).
2020-07-21 20:10:14 -05:00