support/testing: openjdk JNI test cases
authorDaniel J. Leach <daniel.j.leach@gmail.com>
Thu, 25 Apr 2019 19:40:45 +0000 (14:40 -0500)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 30 Jun 2019 15:32:34 +0000 (17:32 +0200)
commit6aee78c89413b39ed4f674ebb0482d84e384672f
tree102f3169ee1b60e792d433458e8a5996575d6458
parent7e99d1de50a9b98fb976e8074dd25740cd6440cc
support/testing: openjdk JNI test cases

This test case builds a native library and ensures a Java class can load
and interact with the native library. The test also verifies Java code
can make system calls via the native library.

Signed-off-by: Daniel J. Leach <dleach@belcan.com>
Acked-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 files changed:
support/testing/tests/package/br2-external/openjdk/Config.in
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/Config.in [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniHelper.java [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniTest.java [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.c [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.java [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.c [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.h [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.c [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.h [new file with mode: 0644]
support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/openjdk-jni-test.mk [new file with mode: 0644]
support/testing/tests/package/test_openjdk.py