Skip to content

Commit

Permalink
Deploy text render fixtures to the build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenCWills authored and AJenbo committed Mar 3, 2025
1 parent b4fbaf1 commit 5a03f1e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 15 additions & 0 deletions test/Fixtures.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/text_render_integration_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5a03f1e

Please sign in to comment.