d/j3: ensure type-tests pass (#3414)

Make this test run in CI as the game is not done yet, CI in master is
failing because something was missed (forward declaration)
This commit is contained in:
Tyler Wilding 2024-03-09 14:45:57 -05:00 committed by GitHub
parent 62fa9d80e1
commit 4ca84f9a97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -12,6 +12,9 @@
(glow 1)
)
(declare-type sprite-hvdf-data structure)
(declare-type sprite-hvdf-control structure)
(declare-type sprite-aux-list basic)
(define-extern *sprite-hvdf-data* sprite-hvdf-data)
(define-extern *sprite-hvdf-control* sprite-hvdf-control)
(define-extern *sprite-aux-list* sprite-aux-list)

View file

@ -37,7 +37,7 @@ TEST(Jak2TypeConsistency, MANUAL_TEST_TypeConsistencyWithBuildFirst) {
compiler.run_test_no_load("decompiler/config/jak2/all-types.gc");
}
TEST(Jak3TypeConsistency, MANUAL_TEST_TypeConsistencyWithBuildFirst) {
TEST(Jak3TypeConsistency, TypeConsistencyWithBuildFirst) {
Compiler compiler(GameVersion::Jak3);
compiler.enable_throw_on_redefines();
add_common_expected_type_mismatches(compiler);