diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-29 18:00:51 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-06-29 18:00:51 +0300 |
commit | 322c7fba3d2f4c9b5b0d78b44feefd38ae44d017 (patch) | |
tree | de20ed83ee9231e853cefb46bb8ba60cf65e09dd /scripts/gen-tests | |
parent | d4c1d32e0aa21677e72c54ed220fdc70cea732c8 (diff) | |
download | ejit-322c7fba3d2f4c9b5b0d78b44feefd38ae44d017.tar.gz ejit-322c7fba3d2f4c9b5b0d78b44feefd38ae44d017.zip |
continue working through bytecode ops
Diffstat (limited to 'scripts/gen-tests')
-rwxr-xr-x | scripts/gen-tests | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/gen-tests b/scripts/gen-tests index 934f13f..542bb7b 100755 --- a/scripts/gen-tests +++ b/scripts/gen-tests @@ -3,7 +3,8 @@ PREFIX=JIT_TEST for s in ${@} do - exe="tests/test-jit-$(basename ${s%.*})" + src="${s#*/}" + exe="tests/test-jit-${src%.*}" dep="tests/${exe}.d" echo "${PREFIX} += ${exe}" >> tests.mk @@ -16,7 +17,8 @@ done PREFIX=BCODE_TESTS for s in ${@} do - exe="tests/test-bcode-$(basename ${s%.*})" + src="${s#*/}" + exe="tests/test-bcode-${src%.*}" dep="tests/${exe}.d" echo "${PREFIX} += ${exe}" >> tests.mk |