v86/.travis-run-nasm-jit-always.sh
Fabian f2274e0a60 Fix nasm test with forced jit
This is a (partial) fix for #8. It manually forces compilation of the
first set of basic blocks in the nasm tests, waits for the blocks to be
compiled and then runs the test. It doesn't make use of the fragile
compile-time machinery to force compilation.

Analysis currently doesn't follow execution after the popf instructions,
which is included in most tests. It has been manually verified that
tests pass when the popf instruction is compiled, and this limitation
will be lifted soon.

Analysis also doesn't follow through call and return instructions, so
nasm tests can't currently test these in their compiled form.
2020-07-21 20:10:14 -05:00

5 lines
99 B
Bash
Executable file

#!/usr/bin/env bash
set -e
./tests/nasm/create_tests.js
make -j $(nproc --all) nasmtests-force-jit