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
1 changed files with 9 additions and 10 deletions
|
@ -1316,16 +1316,15 @@ (define-public java-iq80-snappy
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue