diff options
author | David Phillips <david@sighup.nz> | 2019-07-31 21:15:16 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2019-08-03 12:44:12 +1200 |
commit | 37872f036728a7bc9b1842e73599162c8a2ab822 (patch) | |
tree | 3a3404853b1ba8e4984045f9acc120f449d8efa0 /test/full-pipeline | |
parent | 29b3d80cbef66de71b4db909df78e0853fc1c5b3 (diff) | |
download | toy-cpu-assembler-37872f036728a7bc9b1842e73599162c8a2ab822.tar.xz |
Make full test use unique-per-test file names
This allows for inspection of test failures when the script is run with noclean
and the failing test is not the last test in the run.
Diffstat (limited to 'test/full-pipeline')
-rwxr-xr-x | test/full-pipeline/run-full-pipeline.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/full-pipeline/run-full-pipeline.sh b/test/full-pipeline/run-full-pipeline.sh index 2a70eed..8598a8d 100755 --- a/test/full-pipeline/run-full-pipeline.sh +++ b/test/full-pipeline/run-full-pipeline.sh @@ -34,9 +34,9 @@ export DISASM="$PWD/../../disassembler" has_failure=0 for first_stage_asm in *.asm ; do - first_stage_bin="$WORK/first_stage.bin" - second_stage_asm="$WORK/second_stage.asm" - second_stage_bin="$WORK/second_stage.bin" + first_stage_bin="$WORK/${first_stage_asm}-first_stage.bin" + second_stage_asm="$WORK/${first_stage_asm}-second_stage.asm" + second_stage_bin="$WORK/${first_stage_asm}-second_stage.bin" # Assemble test code if ! "$ASM" "$first_stage_asm" "$first_stage_bin" ; then |