mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: java-jnacl: Use invoke.
* gnu/packages/java.scm (java-jnacl)[arguments]: Use "invoke".
This commit is contained in:
parent
f201b18ed7
commit
602f54f436
1 changed files with 12 additions and 12 deletions
|
@ -7538,18 +7538,18 @@ (define-public java-jnacl
|
|||
#t))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(system* "ant" "compile-tests")
|
||||
(and
|
||||
(zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||
":build/classes"
|
||||
":build/test-classes")
|
||||
"org.testng.TestNG" "-testclass"
|
||||
"build/test-classes/com/neilalexander/jnacl/NaclSecretBoxTest.class"))
|
||||
(zero? (system* "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||
":build/classes"
|
||||
":build/test-classes")
|
||||
"org.testng.TestNG" "-testclass"
|
||||
"build/test-classes/com/neilalexander/jnacl/NaClTest.class"))))))))
|
||||
(invoke "ant" "compile-tests")
|
||||
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||
":build/classes"
|
||||
":build/test-classes")
|
||||
"org.testng.TestNG" "-testclass"
|
||||
"build/test-classes/com/neilalexander/jnacl/NaclSecretBoxTest.class")
|
||||
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||
":build/classes"
|
||||
":build/test-classes")
|
||||
"org.testng.TestNG" "-testclass"
|
||||
"build/test-classes/com/neilalexander/jnacl/NaClTest.class")
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("java-testng" ,java-testng)
|
||||
("java-fest-util" ,java-fest-util)
|
||||
|
|
Loading…
Reference in a new issue