tests/jak2: Better prepare offline tests for multiple games (#1591)

* git: ignore vs build dir

* cmake: ditch `clang-cl` on windows in favor of actual `clang`

* build: suppress a significant number of warnings

* build: adjust workflows and vendor nasm

* docs: update docs to remove `clang-cl` mentions

* tests: move jak1 reference tests into their own folder

* tests: update offline tests to support multiple games

* tests: some additional fixes and multi-game handling

* tests: update reference tests
This commit is contained in:
Tyler Wilding
2022-07-06 18:10:38 -04:00
committed by GitHub
parent 9ede08977f
commit 8a18072d97
491 changed files with 289 additions and 281 deletions
+8 -8
View File
@@ -111,7 +111,7 @@ tasks:
# TESTS
offline-tests:
cmds:
- '{{.OFFLINETEST_BIN_RELEASE_DIR}}/offline-test "./iso_data/{{.GAME}}"'
- '{{.OFFLINETEST_BIN_RELEASE_DIR}}/offline-test --iso_data_path "./iso_data/{{.GAME}}" --game {{.GAME}}'
# TODO - update or replace
# add-reference-test:
# cmds:
@@ -122,13 +122,13 @@ tasks:
# cmds:
# - python ./scripts/add-reference-test.py --file "{{.FILES}}"
# - task: offline-tests
# update-reference-tests:
# cmds:
# - cmd: python ./scripts/default-file-or-folder.py --path failures
# - cmd: '{{.OFFLINETEST_BIN_RELEASE_DIR}}/offline-test "./iso_data/{{.GAME}}" --dump-mode'
# ignore_error: true
# - python ./scripts/update_decomp_reference.py ./failures ./test/decompiler/reference/
# - task: offline-tests
update-reference-tests:
cmds:
- cmd: python ./scripts/default-file-or-folder.py --path failures
- cmd: '{{.OFFLINETEST_BIN_RELEASE_DIR}}/offline-test --iso_data_path "./iso_data/{{.GAME}}" --game {{.GAME}} --dump_current_output'
ignore_error: true
- python ./scripts/update_decomp_reference.py ./failures ./test/decompiler/reference/
- task: offline-tests
# find-label-types:
# cmds:
# - python ./scripts/next-decomp-file.py --files "{{.FILES}}"