Fabian
dcb40f6221
Full test: Update image paths
2020-12-31 19:14:29 -06:00
Fabian
ae3a652333
jit_add_seg_offset: Assert that segment is not null
2020-12-31 19:14:29 -06:00
Fabian
292769d961
Full tests: Small improvements
2020-12-31 19:14:29 -06:00
Fabian
4cd6d74284
Test freebsd login
2020-12-31 19:14:29 -06:00
Fabian
d5c9b29942
Upgrade jshint
2020-12-31 19:14:29 -06:00
Fabian
941208c948
Remove defunct test coverage
2020-12-31 19:14:29 -06:00
Fabian
489f212c47
Fix broken string test
2020-12-31 19:14:29 -06:00
Fabian
a7ae6603f0
Temporarily disable broken tests
2020-12-31 19:14:29 -06:00
Fabian
13a506de52
fix kvm-unit-test with newer versions of gcc
2020-12-31 19:14:29 -06:00
Fabian
9a38e6a654
nasmtests: Check exception eip
2020-12-31 19:14:29 -06:00
Fabian
28d70d6250
Add test for fsave and frstor
2020-12-31 19:14:29 -06:00
Fabian
db381ef39f
Remove broken tests (exception is different in native and v86)
2020-12-31 19:14:29 -06:00
Fabian
cd909c4f02
Add tests for fstenv/fldenv/fld [m80]
2020-12-31 19:14:29 -06:00
Fabian
3f1ba044ed
Increment timestamp_counter before running basic block
2020-12-31 19:14:29 -06:00
Fabian
70e637b31b
Integration test: Check serial text
2020-12-31 19:14:29 -06:00
Fabian
7d48636dda
Integration tests: Use debug bios
2020-12-31 19:14:29 -06:00
Fabian
e2eecc7295
task_switch_test*_jit: assert that jit agrees
2020-12-31 19:14:29 -06:00
Fabian
492a2cf78e
Update previous_ip only if page fault is going to happen
2020-12-31 19:14:29 -06:00
Fabian
c47b4b252c
Optimise cr0 access in task_switch_test (only low byte needed)
2020-12-31 19:14:29 -06:00
Fabian
7f41e6fe48
Test for mov [mem], sreg
2020-12-31 19:14:29 -06:00
Fabian
c5cd93678e
Pass local to gen_safe_read, add single function for modrm_resolve and gen_safe_read (preparation for later optimisations)
2020-12-31 19:14:29 -06:00
Fabian
aad8072aa7
Optimise push reg
2020-12-31 19:14:28 -06:00
Fabian
43fcdf9fc2
Introduce LocalOrImmediate for more efficient parameter passing to cmp/test instructions
2020-12-31 19:14:28 -06:00
Fabian
bc3c73a607
wasm state machine: Fallthrough
2020-12-31 19:14:28 -06:00
Fabian
63afa77167
Global pointers: Align general purpose registers, sse registers and flags
2020-12-31 19:14:28 -06:00
Fabian
6e005a2058
Integration test: Mark Windows 3 as slow test, print diff output in qemu tests
2020-12-31 19:14:28 -06:00
Fabian
5f31a8aba2
Update expect tests for flags and arithmetic code generation (last two commits)
2020-12-31 19:14:28 -06:00
Fabian
b5a72061fb
Custom codegen for absolute jmp/call (FF_2/FF_4)
2020-12-31 19:14:28 -06:00
Fabian
aadaf13854
Update expect tests
2020-08-30 19:37:15 -05:00
Fabian
58292cfbc8
namstests: Handle pagefaults
2020-08-30 19:37:15 -05:00
Fabian
8eae31295d
nasmtests: Handle exceptions in forced-jit mode
2020-08-30 19:37:15 -05:00
Fabian
158bb75fec
FPU: Implement zero divide fault
2020-08-30 19:37:15 -05:00
Fabian
0269e9cecf
Fix fxtract
2020-08-30 19:37:15 -05:00
Fabian
9959e758d5
nasmtests: Fix display of integers
2020-08-30 19:37:15 -05:00
Fabian
c2508bc61e
Update expect tests
2020-08-30 19:37:15 -05:00
Fabian
0c42ea0d1f
Custom code generation for leave (C9)
2020-08-30 19:37:15 -05:00
Fabian
837e6ff362
Custom code generation for ret imm (C2)
2020-08-30 19:37:15 -05:00
Fabian
fc954cecea
Update libwabt (fix failing decoding of large generated modules)
2020-08-30 19:37:15 -05:00
Ernest Wong
644d2cfca8
Filestorage tests: Improve mock transaction lifetimes
...
- Assert that transaction operations are done within their callback
scopes.
- Improve test performance by using setImmediate for queueing macrotasks
instead of using setTimeout.
- Check for in-progress callbacks before completing transactions.
Note that promise callbacks are run as microtasks. When request
onsuccess callbacks are run, the transaction becomes active again and allows
further requests to be placed against that transaction. The transaction
becomes inactive when the program reaches the end of the event loop
iteration. However, all microtasks are exhausted before the event loop
iteration ends, so the transaction remains active even within the promise
callbacks.
2020-08-30 19:37:15 -05:00
Ernest Wong
22412f3815
Filestorage tests: Test non-existent files
2020-08-30 19:37:15 -05:00
Ernest Wong
1d41054001
style(Filestorage tests): Move openning braces to new lines
2020-08-30 19:37:15 -05:00
Ernest Wong
79928bae4d
Filestorage tests: Mock transaction.abort and store.count
2020-08-30 19:37:15 -05:00
Ernest Wong
5a085f32e3
Filestorage tests: Check for unexpected early exits
2020-08-30 19:37:15 -05:00
Fabian
958fb7b9d6
Update expect tests
2020-08-30 19:37:15 -05:00
Fabian
29395181d2
Update expect test results
2020-08-30 19:37:15 -05:00
Fabian
05296b0586
Enable fpu instructions in nasm tests
2020-08-30 19:37:15 -05:00
Ernest Wong
9e82dde504
Filestorage tests: Mock idb transaction.oncomplete
2020-08-30 19:37:15 -05:00
Ernest Wong
27b365b30a
Filestorage tests: Set failure exit code
2020-08-30 19:37:15 -05:00
Fabian
9e13650c19
fixup expect tests
2020-08-30 19:37:15 -05:00
Fabian
5b95165de2
Add TEST_RELEASE_BUILD to run tests on release build
2020-08-30 19:37:15 -05:00