mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
CMake: disable tests by default (#10899)
This commit is contained in:
@@ -455,7 +455,7 @@ install(
|
|||||||
PATTERN "*.hpp"
|
PATTERN "*.hpp"
|
||||||
PATTERN "*.inc")
|
PATTERN "*.inc")
|
||||||
|
|
||||||
if(NOT NO_TESTS)
|
if(TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_custom_target(tests)
|
add_custom_target(tests)
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
}: let
|
}: let
|
||||||
inherit (lib.lists) flatten foldl';
|
inherit (lib.lists) flatten foldl';
|
||||||
inherit (lib.sources) cleanSourceWith cleanSource;
|
inherit (lib.sources) cleanSourceWith cleanSource;
|
||||||
inherit (lib.strings) hasSuffix;
|
inherit (lib.strings) hasSuffix cmakeBool;
|
||||||
|
|
||||||
adapters = flatten [
|
adapters = flatten [
|
||||||
stdenvAdapters.useMoldLinker
|
stdenvAdapters.useMoldLinker
|
||||||
@@ -48,6 +48,8 @@ in
|
|||||||
|
|
||||||
cmakeBuildType = "Debug";
|
cmakeBuildType = "Debug";
|
||||||
|
|
||||||
|
cmakeFlags = [(cmakeBool "TESTS" true)];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/hyprwm/Hyprland";
|
homepage = "https://github.com/hyprwm/Hyprland";
|
||||||
description = "Hyprland testing framework";
|
description = "Hyprland testing framework";
|
||||||
|
Reference in New Issue
Block a user