-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,3 +123,10 @@ testbye: build | |
cygtest: build | ||
cp ${LIBNAME} post4jni.dll | ||
POST4_PATH="${POST4_PATH}"; java -Djava.library.path=".;..\\src" -cp ../.. ${MAIN} ../test/units.p4 | ||
|
||
# GH-71 Should cleanly terminate with an error. | ||
test_badpath: ${PROG} | ||
@printf "== %s == Bad POST4_PATH\n" $@ | ||
! POST4_PATH="/invalid" java -Djava.library.path="$${POST4_PATH}" -cp ../.. ${MAIN} | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
SirWumpus
Author
Owner
|
||
@echo "-OK-" | ||
|
If
POST4_PATH
was not set before that, this command is equivalent to:But the code makes impression that
java.library.path
is set to the value fromPOST4_PATH
. Eitherjava.library.path
should be set to""
(empty string), orexport
should be used forPOST4_PATH
(as I mentioned earlier, see my past comment).