mirror of
https://github.com/open-goal/jak-project
synced 2026-09-13 05:05:48 -04:00
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:
+8
-8
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user