diff --git a/.gitignore b/.gitignore index 44deb49c496..558dafacc58 100644 --- a/.gitignore +++ b/.gitignore @@ -465,6 +465,3 @@ uwp-project/Assets/gendata uwp-project/Assets/ui_art !uwp-project/devilutionX_TemporaryKey.pfx /.s390x-ccache/ - -# Test fixtures -/test/fixtures/text_render_integration_test/*-Actual.png diff --git a/test/Fixtures.cmake b/test/Fixtures.cmake index 0fcae3e162a..a03f699e433 100644 --- a/test/Fixtures.cmake +++ b/test/Fixtures.cmake @@ -81,6 +81,21 @@ set(devilutionx_fixtures memory_map/player.txt memory_map/portal.txt memory_map/quest.txt + text_render_integration_test/basic-colors.png + text_render_integration_test/basic.png + text_render_integration_test/horizontal_overflow.png + text_render_integration_test/horizontal_overflow-colors.png + text_render_integration_test/kerning_fit_spacing-colors.png + text_render_integration_test/kerning_fit_spacing.png + text_render_integration_test/kerning_fit_spacing__align_center-colors.png + text_render_integration_test/kerning_fit_spacing__align_center.png + text_render_integration_test/kerning_fit_spacing__align_center__newlines.png + text_render_integration_test/kerning_fit_spacing__align_center__newlines_in_fmt-colors.png + text_render_integration_test/kerning_fit_spacing__align_center__newlines_in_value-colors.png + text_render_integration_test/kerning_fit_spacing__align_right-colors.png + text_render_integration_test/kerning_fit_spacing__align_right.png + text_render_integration_test/vertical_overflow.png + text_render_integration_test/vertical_overflow-colors.png timedemo/WarriorLevel1to2/demo_0.dmo timedemo/WarriorLevel1to2/demo_0_reference_spawn_0.sv timedemo/WarriorLevel1to2/spawn_0.sv diff --git a/test/text_render_integration_test.cpp b/test/text_render_integration_test.cpp index 9ed5f569190..6826834a7f7 100644 --- a/test/text_render_integration_test.cpp +++ b/test/text_render_integration_test.cpp @@ -31,7 +31,7 @@ static bool UpdateExpected; namespace devilution { namespace { -constexpr char FixturesPath[] = "../test/fixtures/text_render_integration_test/"; +constexpr char FixturesPath[] = "test/fixtures/text_render_integration_test/"; struct TestFixture { std::string name;