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:
parent
74d29bedc1
commit
831016bd22
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue