Commit 06030255 authored by Simon F's avatar Simon F Committed by Leo
Browse files

testing/java-jtreg: use java-provides abstractions

parent b7912656
......@@ -3,16 +3,16 @@
pkgname=java-jtreg
pkgver=5.1_p01
_pkgver=${pkgver/_p/-b}
pkgrel=1
pkgrel=2
pkgdesc="jtreg is the test harness used by the JDK test framework"
url="https://hg.openjdk.java.net/code-tools/jtreg"
url="https://github.com/openjdk/jtreg"
arch="noarch !mips !mips64" # java
license="GPL-2.0"
depends="java-jtharness java-asmtools"
makedepends="openjdk8 zip"
makedepends="openjdk8 zip" # explicitly required java 8 to compile
options="!check" # the tests require an X11 or VNC display
#subpackages="$pkgname-doc:_doc $pkgname-examples:_examples"
source="jtreg-$_pkgver.tar.bz2::https://hg.openjdk.java.net/code-tools/jtreg/archive/jtreg$_pkgver.tar.bz2
source="jtreg-$_pkgver.tar.bz2::https://github.com/openjdk/jtreg/archive/jtreg$_pkgver.tar.gz
jtreg-symlink-patch.txt
jtdiff-symlink-patch.txt
......@@ -24,7 +24,7 @@ builddir="$srcdir/jtreg-jtreg$_pkgver"
build() {
builddir="$builddir" \
TAG_INFO="jtreg$_pkgver" \
ash make/build-all.sh /usr/lib/jvm/java-1.8-openjdk
ash make/build-all.sh /usr/lib/jvm/default-jvm
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment