Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit edb6bd4

Browse files
Added patch for tests being packaged
1 parent 8f98b6d commit edb6bd4

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
CMakeCache.txt
1414
CMakeFiles/
1515
cmake_install.cmake
16+
.pc

debian/patches/fixtests.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
From: Julius Clasen <[email protected]>
2+
Subject: Fix test binaries being included in package
3+
--- a/test/CMakeLists.txt
4+
+++ b/test/CMakeLists.txt
5+
@@ -3,7 +3,7 @@
6+
7+
add_executable(rgbgfx_test gfx/rgbgfx_test.cpp)
8+
9+
-install(TARGETS randtilegen rgbgfx_test DESTINATION ${rgbds_SOURCE_DIR}/test/gfx)
10+
+install(TARGETS randtilegen rgbgfx_test DESTINATION ${rgbds_SOURCE_DIR}/test/gfx COMPONENT "Test support programs" EXCLUDE_FROM_ALL)
11+
12+
foreach(TARGET randtilegen rgbgfx_test)
13+
if(LIBPNG_FOUND) # pkg-config

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fixtests.patch

0 commit comments

Comments
 (0)