Commit ee595c02 authored by Clint Adams's avatar Clint Adams

werewolf: only run tests on platforms with SMP support

parent 3be7909d
haskell-werewolf (0.5.1.0-2) unstable; urgency=medium
* Only run tests on platforms with SMP support. This is not
a good solution. closes: #819995.
-- Clint Adams <clint@debian.org> Sun, 17 Apr 2016 15:46:03 -0400
haskell-werewolf (0.5.1.0-1) unstable; urgency=low
* Initial release.
......
#!/usr/bin/make -f
DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = werewolf
DEB_DEFAULT_COMPILER = ghc
ifeq (yes,$(shell test -e /usr/bin/ghci && echo yes))
ifeq (yes,$(shell ghc --info | grep -q 'Support SMP.*YES' && echo yes))
DEB_ENABLE_TESTS := yes
endif
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
build/haskell-werewolf-utils:: build-ghc-stamp
build/werewolf:: build-ghc-stamp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment