Skip to content

Commit

Permalink
d/j3: ensure type-tests pass (#3414)
Browse files Browse the repository at this point in the history
Make this test run in CI as the game is not done yet, CI in master is
failing because something was missed (forward declaration)
  • Loading branch information
xTVaser authored Mar 9, 2024
1 parent 62fa9d8 commit 4ca84f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions goal_src/jak3/engine/gfx/sprite/sprite.gc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/goalc/test_type_consistency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ca84f9

Please sign in to comment.