diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-03-29 00:42:19 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-03-29 01:35:36 +0300 |
commit | 414fc58cef4eb9c2cc18a381629d17c5adf76210 (patch) | |
tree | 4aa36a49bc585ef9be97489ca23fb437c1382049 /gnu/packages | |
parent | bdc72870af04a93b084f7c4d18a7e5c3937f14d7 (diff) | |
download | guix-414fc58cef4eb9c2cc18a381629d17c5adf76210.tar guix-414fc58cef4eb9c2cc18a381629d17c5adf76210.tar.gz |
gnu: qrencode: Enable tests.
* gnu/packages/aidc.scm (qrencode)[arguments]: Add configure-flag to
build tests. Use custom 'check phase to run tests.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/aidc.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index 8bbdacaf6f..d1b63de736 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -117,6 +117,16 @@ formats.") (base32 "08v9d8jn26bva2a8x4hghq3mgl8zcid393iqkidwyhc05xrxjmg4")))) (build-system gnu-build-system) + (arguments + `(#:configure-flags '("--with-tests") + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "tests" + (invoke "./test_basic.sh"))) + #t))))) (inputs `(("libpng" ,libpng))) (native-inputs `(("pkg-config" ,pkg-config))) (synopsis "Encode data into a QR Code symbol") |