community/openjdk8: add very basic check function

This commit is contained in:
Jakub Jirutka 2017-05-18 02:48:55 +02:00
parent 51026c10c0
commit fc348670e4

View File

@ -153,6 +153,13 @@ build() {
make || return 1
}
# TODO: Run tests or at least try to compile and run hello world.
check() {
cd "$builddir"/openjdk.build/images/j2sdk-image
./bin/java -version
}
package() {
cd "$builddir"