mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 12:56:29 +00:00
Fix the $JAVAC conditional in tests/all
Add a test script for all Java tests, called "alljava". Include testconfig.sh in testdefs.sh, not testdefs_java.sh, so that the tests/all script can successfully test the $JAVAC variable.
This commit is contained in:
parent
92fa6c196a
commit
16d4a6d18e
@ -35,7 +35,7 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source "$servald_build_root/testconfig.sh"
|
||||
source "$servald_build_root/testconfig.sh" || exit 1
|
||||
|
||||
export PATH="$servald_build_root:$PATH"
|
||||
export TFW_LOGDIR="${SERVAL_TEST_LOGDIR:-$servald_build_root/testlog}"
|
||||
|
@ -16,11 +16,9 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
testdefs_java_sh=$(abspath "${BASH_SOURCE[0]}")
|
||||
java_source_root="${testdefs_java_sh%/*}"
|
||||
java_build_root="$java_source_root"
|
||||
java_classdir="$java_build_root/java-api/classes"
|
||||
java_testclassdir="$java_build_root/java-api/testclasses"
|
||||
java_build_root="${servald_build_root?}/java-api"
|
||||
java_classdir="$java_build_root/classes"
|
||||
java_testclassdir="$java_build_root/testclasses"
|
||||
|
||||
# Utility function for setting up servald JNI fixtures:
|
||||
# - check that libservaldaemon.so is present
|
||||
|
Loading…
Reference in New Issue
Block a user