.
Fix a bug when running tests singly in the 'SubX standard library'.
This commit is contained in:
parent
66bce436b3
commit
ab107e184f
|
@ -16,5 +16,12 @@ fi
|
|||
|
||||
envsubst '$TEST_NAME' < run_one_test.subx > /tmp/run_one_test.subx
|
||||
|
||||
subx --debug translate [0-9]*.subx apps/subx-common.subx $1 /tmp/run_one_test.subx -o /tmp/a.elf
|
||||
if [[ $1 == */* ]]
|
||||
then
|
||||
subx --debug translate [0-9]*.subx apps/subx-common.subx $1 /tmp/run_one_test.subx -o /tmp/a.elf
|
||||
else
|
||||
# don't mention files twice
|
||||
subx --debug translate [0-9]*.subx apps/subx-common.subx /tmp/run_one_test.subx -o /tmp/a.elf
|
||||
fi
|
||||
|
||||
subx --debug --trace run /tmp/a.elf
|
||||
|
|
Loading…
Reference in New Issue
Block a user