gnu: java-iq80-snappy: Use invoke.

* gnu/packages/compression.scm (java-iq80-snappy)[arguments]: Use invoke and
remove vestigial plumbing.
This commit is contained in:
Mark H Weaver 2018-03-16 02:34:26 -04:00
parent 74d29bedc1
commit 831016bd22
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 9 additions and 10 deletions

View File

@ -1316,16 +1316,15 @@ compresser/decompresser.")
(replace 'check (replace 'check
(lambda _ (lambda _
(define (test class) (define (test class)
(zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH") (invoke "java" "-cp" (string-append (getenv "CLASSPATH")
":build/classes" ":build/classes"
":build/test-classes") ":build/test-classes")
"-Dtest.resources.dir=src/test/resources" "-Dtest.resources.dir=src/test/resources"
"org.testng.TestNG" "-testclass" "org.testng.TestNG" "-testclass"
class))) class))
(system* "ant" "compile-tests") (invoke "ant" "compile-tests")
(and
(test "org.iq80.snappy.SnappyFramedStreamTest") (test "org.iq80.snappy.SnappyFramedStreamTest")
(test "org.iq80.snappy.SnappyStreamTest")))) (test "org.iq80.snappy.SnappyStreamTest")))
(add-before 'build 'remove-hadoop-dependency (add-before 'build 'remove-hadoop-dependency
(lambda _ (lambda _
;; We don't have hadoop ;; We don't have hadoop