From 322c7fba3d2f4c9b5b0d78b44feefd38ae44d017 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 29 Jun 2024 18:00:51 +0300 Subject: continue working through bytecode ops --- scripts/gen-tests | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3