summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-20 21:26:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-20 22:38:15 +0200
commit4241cb9c0b9376e1f55f779d947fe3f5321e587d (patch)
tree38a163d79edf71c7fe80410a91679bc79fda70d6
parentfa44d3a63e173a65836763ad8aa9ad447dcfc21f (diff)
gnu: cppcheck: Enable tests.
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to enable tests.
-rw-r--r--gnu/packages/check.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index efedcb8743..255a1cc00c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -306,6 +306,8 @@ format.")
(sha256
(base32 "1mk2zxypx7lq34y4i0xxgwqg6prhdzldzqmlzzr5j4safpsjynrs"))))
(build-system cmake-build-system)
+ (arguments
+ '(#:configure-flags '("-DBUILD_TESTS=ON")))
(home-page "http://cppcheck.sourceforge.net")
(synopsis "Static C/C++ code analyzer")
(description "Cppcheck is a static code analyzer for C and C++. Unlike