diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-29 13:02:42 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-29 13:03:18 +0300 |
commit | 5257618bf8b5d559aed8c8be887d56ce35b7aed1 (patch) | |
tree | 815c17c43d87ba24a68e685c7ce2999c200ff9c0 /gnu/packages/video.scm | |
parent | cbbdf047d48013fadd5476e64d0dfda131fa50fd (diff) | |
download | guix-5257618bf8b5d559aed8c8be887d56ce35b7aed1.tar.gz guix-5257618bf8b5d559aed8c8be887d56ce35b7aed1.zip |
gnu: obs: Enable tests.
* gnu/packages/video.scm (obs)[arguments]: Enable tests. Add
configure-flag to enable unit tests.
[native-inputs]: Add cmocka.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r-- | gnu/packages/video.scm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d60fa3b31d..bdc4115349 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3007,11 +3007,12 @@ be used for realtime video capture via Linux-specific APIs.") "09y57b3c88szl3wyx3cxq8jrm3pfnyg2n25hxl1ynkq3rgaavdq2")))) (build-system cmake-build-system) (arguments - `(#:tests? #f ; no test suite - #:configure-flags - (list (string-append "-DOBS_VERSION_OVERRIDE=" ,version)))) + `(#:configure-flags + (list (string-append "-DOBS_VERSION_OVERRIDE=" ,version) + "-DENABLE_UNIT_TESTS=TRUE"))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("cmocka" ,cmocka) + ("pkg-config" ,pkg-config))) (inputs `(("alsa-lib" ,alsa-lib) ("curl" ,curl) |