Skip to content

Commit d9b8463

Browse files
committed
tests/fw/graphics/util: fix platform suffix for Linux CI
Restore platform suffix on Linux (e.g. ~spalding) while keeping the additional -darwin suffix for macOS local development. This matches the naming convention of the PNG fixture files in the repository. Co-authored-by: Claude <claude@anthropic.com> Signed-off-by: Joseph Mearman <joseph@mearman.co.uk>
1 parent f712aa2 commit d9b8463

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/fw/graphics/util.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ static const char *namecat(const char* str1, const char* str2){
5858
printf("filename and filename_xbit %s : %s\n", filename, filename_xbit);
5959
} else {
6060
#if !PLATFORM_DEFAULT
61-
// On macOS, append ~platform-darwin suffix to allow different fixtures for local dev
62-
// Linux (CI) uses the base fixture name without any platform suffix
63-
#if defined(__APPLE__)
61+
// Append platform suffix for non-default platforms
6462
strcat(filename, "~");
6563
strcat(filename, PLATFORM_NAME);
64+
#if defined(__APPLE__)
65+
// On macOS, also append -darwin to differentiate local dev fixtures from CI
6666
strcat(filename, "-darwin");
6767
#endif
6868
#endif

0 commit comments

Comments
 (0)