File: fix-hyprtester-binary-path.patch

package info (click to toggle)
hyprland 0.52.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 53,660 kB
  • sloc: cpp: 73,083; xml: 4,094; sh: 235; makefile: 96
file content (23 lines) | stat: -rw-r--r-- 616 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Chow Loong Jin <hyperair@debian.org>
Date: Tue, 18 Nov 2025 15:43:15 +0800
Subject: Specify binary path for hyprtester

Forwarded: no
Applied-Upstream: no
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1aa132d..dcb676c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -542,7 +542,7 @@ if(BUILD_TESTING)
   add_test(
     NAME "Main Test"
     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/hyprtester
-    COMMAND hyprtester)
+    COMMAND hyprtester --binary ${CMAKE_BINARY_DIR}/Hyprland)
 
   add_dependencies(tests hyprtester)
 else()