tests: Automate the offline reference tests better (#427)

* tests: Move all files to new directories

* scripts: Update decomp scripts

* tests: Remove hard-coded list for offline tests

* linting
This commit is contained in:
Tyler Wilding
2021-05-09 17:03:58 -04:00
committed by GitHub
parent 971e0e3e24
commit 2a315419de
81 changed files with 148 additions and 94 deletions
+14 -1
View File
@@ -16,4 +16,17 @@ tasks:
decomp-clean:
cmds:
- rm ./decompiler_out/**/*.asm
- rm ./decompiler_out/**/*disasm.gc
- rm ./decompiler_out/**/*disasm.gc
decomp-next:
cmds:
- python ./scripts/next-decomp-file.py --skip "{{.SKIP}}"
- task: decomp
vars:
SKIP: '{{default "0" .SKIP}}'
decomp-file:
cmds:
- python ./scripts/next-decomp-file.py --file "{{.FILE}}"
- task: decomp
decomp-list:
cmds:
- python ./scripts/next-decomp-file.py --list