Christian Schnell
d7e9c64975
minor optimization
2025-08-23 10:14:32 -06:00
Christian Schnell
51998355ed
reduced usage of string.endsWith() in expect() to minimum
...
If the command string passed to expect() is non-empty it is also used as the first expected response line, but it must be matched against the screen line using .endsWith() because any text preceding the command (usually the shell prompt) is unknown. All other response lines must now match exactly their respective screen lines.
2025-08-23 10:14:32 -06:00
Christian Schnell
0a3a406f69
fixed minor issues
...
- added log message for missing FreeDOS boot image files
- simplified array construction using spread (...) syntax
- removed deprecated comment about linux test failure
2025-08-23 10:14:32 -06:00
Christian Schnell
f2d8ee7334
attempt to fix the linux-test bug at github CI
2025-08-23 10:14:32 -06:00
Christian Schnell
30cd26ca58
fixed missing awaits within V86.set_fda() and V86.set_fdb()
...
Async methods V86.set_fda/set_fdb() were not awaiting URL-based file downloads.
This fixed a bug in the state snapshot tests, removed now uneeded call to pause(1000) after loading the image URL.
2025-08-23 10:14:32 -06:00
Christian Schnell
4a22c44bce
fixed async calls to V86.set_fda() and V86.set_fdb()
2025-08-23 10:14:32 -06:00
Christian Schnell
8b13c70470
disabled Linux format command test
2025-08-23 10:14:32 -06:00
Christian Schnell
0541e3bc9b
added pause command to Linux format test
2025-08-23 10:14:32 -06:00
Christian Schnell
57fb799328
added two floppy format tests, general improvements and cleanup
...
- added floppy format test to MS-DOS and Linux tests
- added RegExp support to expect() and support to capture its command output
- improved emulator setup and teardown
- removed most of the calls to pause()
- activated FreeDOS boot floppy tests, but conditional (they depend on image file existence on the test host)
- improved documentation of expect() function
- removed unused test with TinyCore 4.7.7, using TinyCore 11 instead
2025-08-23 10:14:32 -06:00
Christian Schnell
b909cfe802
added tests for 8 FreeDOS boot disks of different sizes
2025-08-23 10:14:32 -06:00
Christian Schnell
fc1b204d50
moved Linux test from Core-4.7.7.iso to TinyCore-11.0.iso
2025-08-23 10:14:32 -06:00
Christian Schnell
6f891de57d
added two more floppy tests
...
- added fda state snapshot test by using delayed keyboard input for MS-DOS 6.22 (10ms inter-character delay)
- added fda floppy test using Core 4.7.7 Linux
2025-08-23 10:14:32 -06:00
Christian Schnell
5d94c6bf7b
added two floppy drive tests
...
- renamed floppy-insert-eject.js to floppy.js
- merged and reactivated test from floppy-insert-eject.js
- added fdb test using hda guest MSDOS-6.22
2025-08-23 10:14:32 -06:00
Fabian
ccdc7b6b14
haiku beta4 only boots reliably with acpi
2025-07-02 15:01:19 +07:00
Fabian
fff0df6665
include msdos image for tests, and use curl over wget
2025-06-11 21:36:51 +07:00
Fabian
f28837785b
add tests for cdrom+hda+hdb
2025-06-10 17:43:20 +07:00
Fabian
05acfb12eb
add cdrom insert/eject test
2025-06-10 17:41:45 +07:00
Fabian
f81470a762
minor
2025-06-09 14:47:55 +07:00
SuperMaxusa
a07e43bc31
remove local_http flag, small fixes
2025-05-26 23:15:59 +08:00
SuperMaxusa
add1d741c5
run emulator after server, small cleanup
2025-05-26 23:15:59 +08:00
SuperMaxusa
a1c0f12961
move remaining code into if statement
2025-05-26 23:15:59 +08:00
SuperMaxusa
f344f0f40c
change v86local.http to external, inline all server code into test and bench scripts, always use random available port
2025-05-26 23:15:59 +08:00
SuperMaxusa
6ce3b69be0
run a server when the emulator is ready (fixes ci)
2025-05-26 23:15:59 +08:00
SuperMaxusa
ad77448248
fix parentPort
2025-05-26 23:15:59 +08:00
SuperMaxusa
3367bedec8
use random port for server, fix console parsing for benchmark
2025-05-26 23:15:59 +08:00
SuperMaxusa
06f33e4a76
remove "use strict" after sync
2025-05-26 23:15:59 +08:00
SuperMaxusa
4fd2478d67
fix headers and worker error handling
2025-05-26 23:15:59 +08:00
SuperMaxusa
5f088cc066
release build for bench, check non-zero exit codes
2025-05-26 23:15:59 +08:00
SuperMaxusa
c8391e5347
fetch benchmark
2025-05-26 23:15:59 +08:00
SuperMaxusa
b0b5fbee12
fix eslint
2025-05-26 23:15:59 +08:00
SuperMaxusa
6ddb163284
test with local server
2025-05-26 23:15:59 +08:00
Fabian
121a5170f2
minor refactoring (remove readfile, use direct import for libv86.js)
2025-04-16 09:26:13 -07:00
Fabian
611bc7d394
use newer arch state for benchs
2025-04-16 09:26:13 -07:00
Fabian
58471e809b
add 2 GB memory test
2025-04-16 09:26:13 -07:00
Fabian
ee9be5a266
move stats_to_string into V86, remove the export
2025-04-16 09:26:13 -07:00
Fabian
8559d4d46d
simplify print_stats exports
2025-04-16 09:26:13 -07:00
Fabian
51bd604cc5
remove "use strict" (is default in es6 modules)
2025-04-16 09:26:13 -07:00
Fabian
2a4fe44a7d
liberate tests from libv86-debug.js
2025-04-16 09:26:13 -07:00
Fabian
b44f6ea83b
arch profile uses virtio-net now
2025-04-16 09:26:13 -07:00
Fabian
862ea200b9
move DEBUG magic into log.js, remove nodejs-loader.js (use src/main.js instead)
2025-04-16 09:26:13 -07:00
Fabian
39c129168e
inline config.js into its relevant files
2025-04-16 09:26:13 -07:00
Fabian
c11805a70a
minor cleanup of imports
2025-04-16 09:26:13 -07:00
Fabian
1445fdf244
add 9legacy
2025-04-16 09:26:13 -07:00
Fabian
1ed0f28218
test fiwix
2025-04-16 09:26:13 -07:00
Rob Blanckaert
a9219613af
Switch to es6 modules.
2025-04-06 08:53:49 -07:00
Fabian
eb5630db32
qemutests, integrationtests: enable cpu logging by default
2025-03-15 17:29:15 +07:00
Fabian
528451eac0
qemutests: port to es6, write to file to avoid clobbering with log output
2025-03-15 17:26:46 +07:00
Rob Blanckaert
acbc19b546
Some small fixes:
...
- Use the response contructor in the fetch unit tests instead of faking it
- Allow setting size of multiple virtio-consoles independently
2025-03-14 23:01:19 -07:00
Rob Blanckaert
582cfffd04
Fake Networking TCP Improvements
...
- No need for handle now tha we have TCPConnection
- Add a function to probe if a port is open on the VM without
finishing the three way TCP handshake.
2025-02-19 05:50:25 -07:00
Rob Blanckaert
2b162b1e85
Virtio balloon
2025-02-02 12:36:37 -07:00