diff --git a/Makefile b/Makefile index 21565486..27f443ee 100644 --- a/Makefile +++ b/Makefile @@ -236,7 +236,7 @@ qemutests: build/libv86.js build/v86.wasm ./tests/qemu/test-i386 > /tmp/v86-test-reference diff /tmp/v86-test-result /tmp/v86-test-reference -kvm-unit-test: build/libv86.js build/v86.wasm +kvm-unit-test: build/libv86-debug.js build/v86-debug.wasm (cd tests/kvm-unit-tests && ./configure) $(MAKE) -C tests/kvm-unit-tests tests/kvm-unit-tests/run.js tests/kvm-unit-tests/x86/realmode.flat diff --git a/tests/kvm-unit-tests/run.js b/tests/kvm-unit-tests/run.js index 7f9e27b5..506b8704 100755 --- a/tests/kvm-unit-tests/run.js +++ b/tests/kvm-unit-tests/run.js @@ -1,7 +1,7 @@ #!/usr/bin/env node "use strict"; -var V86 = require("../../build/libv86.js").V86; +var V86 = require("../../build/libv86-debug.js").V86; var fs = require("fs"); function readfile(path) @@ -29,6 +29,7 @@ var emulator = new V86({ multiboot: new Loader(process.argv[2]), autostart: true, memory_size: 64 * 1024 * 1024, + log_level: 0, }); emulator.bus.register("emulator-started", function()