mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
qemutests, integrationtests: enable cpu logging by default
This commit is contained in:
parent
528451eac0
commit
eb5630db32
3 changed files with 4 additions and 4 deletions
4
Makefile
4
Makefile
|
|
@ -294,7 +294,7 @@ build/integration-test-fs/fs.json: images/buildroot-bzimage68.bin
|
|||
rm build/integration-test-fs/fs.tar build/integration-test-fs/bzImage build/integration-test-fs/initrd
|
||||
|
||||
tests: all-debug build/integration-test-fs/fs.json
|
||||
./tests/full/run.js
|
||||
LOG_LEVEL=3 ./tests/full/run.js
|
||||
|
||||
tests-release: build/libv86.js build/v86.wasm build/integration-test-fs/fs.json
|
||||
TEST_RELEASE_BUILD=1 ./tests/full/run.js
|
||||
|
|
@ -315,7 +315,7 @@ jitpagingtests: all-debug
|
|||
|
||||
qemutests: all-debug
|
||||
$(MAKE) -C tests/qemu test-i386
|
||||
./tests/qemu/run.js build/qemu-test-result
|
||||
LOG_LEVEL=3 ./tests/qemu/run.js build/qemu-test-result
|
||||
./tests/qemu/run-qemu.js > build/qemu-test-reference
|
||||
diff build/qemu-test-result build/qemu-test-reference
|
||||
|
||||
|
|
|
|||
|
|
@ -1017,7 +1017,7 @@ function run_test(test, done)
|
|||
vga_bios: { url: vga_bios },
|
||||
autostart: true,
|
||||
memory_size: test.memory_size || 128 * 1024 * 1024,
|
||||
log_level: 0,
|
||||
log_level: +process.env.LOG_LEVEL || 0,
|
||||
cmdline: test.cmdline,
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ var emulator = new V86({
|
|||
memory_size: 32 * 1024 * 1024,
|
||||
filesystem: {},
|
||||
disable_jit: +process.env.DISABLE_JIT,
|
||||
log_level: 3,
|
||||
log_level: +process.env.LOG_LEVEL || 0,
|
||||
});
|
||||
|
||||
emulator.bus.register("emulator-started", function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue