diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2018-05-10 00:05:58 +0200 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2018-05-10 01:06:22 +0200 |
commit | 9ed36cd3d6a4146f5f314b79a6fd6ada93d03164 (patch) | |
tree | 2e42487a1bcac110a70c5fde99736262ea422569 /guix/build-system | |
parent | 3385db349f05cec431099e8a693afa0f957c57b5 (diff) | |
download | gnu-guix-9ed36cd3d6a4146f5f314b79a6fd6ada93d03164.tar gnu-guix-9ed36cd3d6a4146f5f314b79a6fd6ada93d03164.tar.gz |
build-system: android-ndk: Support unit tests.
* guix/build-system/android-ndk.scm (android-ndk-build): Add googletest.
* guix/build/android-ndk-build-system.scm (check): Check whether tests are
enabled. Run root-level tests as well.
Diffstat (limited to 'guix/build-system')
-rw-r--r-- | guix/build-system/android-ndk.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/build-system/android-ndk.scm b/guix/build-system/android-ndk.scm index 842d983a62..891fc6e042 100644 --- a/guix/build-system/android-ndk.scm +++ b/guix/build-system/android-ndk.scm @@ -113,6 +113,7 @@ ;; Keep the standard inputs of 'gnu-build-system' ,@(standard-packages))) (build-inputs `(("android-make-stub" ,(module-ref (resolve-interface '(gnu packages android)) 'android-make-stub)) + ("googletest" ,(module-ref (resolve-interface '(gnu packages check)) 'googletest)) ,@native-inputs)) (outputs outputs) (build android-ndk-build) |