aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2018-03-16 02:34:26 -0400
committerMark H Weaver <mhw@netris.org>2018-04-12 04:02:11 -0400
commit831016bd22924e998b5135543451cd8b02b44560 (patch)
tree958ea0cba0141cc2ad0a64f446c0a78e2d2d5881 /gnu/packages
parent74d29bedc1a6b91a98d7a8f5f67ef95e8cce0c56 (diff)
downloadpatches-831016bd22924e998b5135543451cd8b02b44560.tar
patches-831016bd22924e998b5135543451cd8b02b44560.tar.gz
gnu: java-iq80-snappy: Use invoke.
* gnu/packages/compression.scm (java-iq80-snappy)[arguments]: Use invoke and remove vestigial plumbing.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/compression.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index a613957434..32393a4c0a 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1316,16 +1316,15 @@ compresser/decompresser.")
(replace 'check
(lambda _
(define (test class)
- (zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH")
- ":build/classes"
- ":build/test-classes")
- "-Dtest.resources.dir=src/test/resources"
- "org.testng.TestNG" "-testclass"
- class)))
- (system* "ant" "compile-tests")
- (and
- (test "org.iq80.snappy.SnappyFramedStreamTest")
- (test "org.iq80.snappy.SnappyStreamTest"))))
+ (invoke "java" "-cp" (string-append (getenv "CLASSPATH")
+ ":build/classes"
+ ":build/test-classes")
+ "-Dtest.resources.dir=src/test/resources"
+ "org.testng.TestNG" "-testclass"
+ class))
+ (invoke "ant" "compile-tests")
+ (test "org.iq80.snappy.SnappyFramedStreamTest")
+ (test "org.iq80.snappy.SnappyStreamTest")))
(add-before 'build 'remove-hadoop-dependency
(lambda _
;; We don't have hadoop