summaryrefslogtreecommitdiff
path: root/guix/build-system/ant.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2017-09-05 22:14:11 +0200
committerJulien Lepiller <julien@lepiller.eu>2017-10-03 21:38:23 +0200
commitf403d7abdf28d2d6e4446a2989e0d37d023b6b53 (patch)
tree8f7c5566d4171e19d2503cd44ddc90d5e6feee1f /guix/build-system/ant.scm
parent8df1faa047870c51954275664e8e7efc94e6fc56 (diff)
downloadguix-patches-f403d7abdf28d2d6e4446a2989e0d37d023b6b53.tar
guix-patches-f403d7abdf28d2d6e4446a2989e0d37d023b6b53.tar.gz
guix: ant-build-system: Add #:test-include and #:test-exclude arguments.
* guix/build-system/ant.scm: Add #:test-include and #:test-exclude arguments. * guix/build/ant-build-system.scm: Generate test list from arguments. * doc/guix.texi (Build Systems): Document it.
Diffstat (limited to 'guix/build-system/ant.scm')
-rw-r--r--guix/build-system/ant.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/guix/build-system/ant.scm b/guix/build-system/ant.scm
index a700230ece..b5626bd42d 100644
--- a/guix/build-system/ant.scm
+++ b/guix/build-system/ant.scm
@@ -100,6 +100,8 @@
(build-target "jar")
(jar-name #f)
(main-class #f)
+ (test-include (list "**/*Test.java"))
+ (test-exclude (list "**/Abstract*.java"))
(source-dir "src")
(test-dir "src/test")
(phases '(@ (guix build ant-build-system)
@@ -132,6 +134,8 @@
#:build-target ,build-target
#:jar-name ,jar-name
#:main-class ,main-class
+ #:test-include (list ,@test-include)
+ #:test-exclude (list ,@test-exclude)
#:source-dir ,source-dir
#:test-dir ,test-dir
#:phases ,phases