From 382f482550c84ca035dc301b18e91523bfa90f1d Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 29 Apr 2025 15:34:13 +0800 Subject: [PATCH] enable testsuite --- stack.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/stack.spec b/stack.spec index 3f978b0..dc3fd0a 100644 --- a/stack.spec +++ b/stack.spec @@ -25,7 +25,7 @@ %global subpkgs %{aesonwarningparser} %{casatypes} %{casaclient} %{companion} %{cryptonconduit} %{filelock} %{hifileparser} %{hpack} %{httpdownload} %{mintty} %{mustache} %{neatinterpolation} %{openbrowser} %{projecttemplate} %{rioorphans} %{staticbytes} %{pantry} -# testsuite missing deps: raw-strings-qq +%bcond tests 1 Name: %{pkg_name} Version: 3.1.1 @@ -204,6 +204,12 @@ BuildRequires: ghc-vector-prof BuildRequires: ghc-yaml-prof BuildRequires: ghc-zlib-prof %endif +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-discover-devel +BuildRequires: ghc-raw-strings-qq-devel +%endif BuildRequires: help2man # for missing dep 'casa-client': BuildRequires: ghc-base16-bytestring-devel