diff options
author | Raimo Niskanen <[email protected]> | 2012-11-26 09:34:34 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2012-11-26 09:34:34 +0100 |
commit | ac4f18141f4dd56f07b22cfcd2d642a2d449c1d4 (patch) | |
tree | 8867eb9ec2846a63af689a5e5cbdb05441582440 /lib/ic | |
parent | 9b562e0c84e690b31a3f379cbd470b537cd234bd (diff) | |
parent | 7c4021a7555112affc7c37dd72f418ccc87ca647 (diff) | |
download | otp-ac4f18141f4dd56f07b22cfcd2d642a2d449c1d4.tar.gz otp-ac4f18141f4dd56f07b22cfcd2d642a2d449c1d4.tar.bz2 otp-ac4f18141f4dd56f07b22cfcd2d642a2d449c1d4.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/ic')
-rw-r--r-- | lib/ic/test/java_client_erl_server_SUITE.erl | 11 | ||||
-rw-r--r-- | lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src | 2 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lib/ic/test/java_client_erl_server_SUITE.erl b/lib/ic/test/java_client_erl_server_SUITE.erl index c2bec94697..9e49305c3c 100644 --- a/lib/ic/test/java_client_erl_server_SUITE.erl +++ b/lib/ic/test/java_client_erl_server_SUITE.erl @@ -62,9 +62,14 @@ init_per_suite(Config) when is_list(Config) -> case case code:priv_dir(jinterface) of {error,bad_name} -> false; - P -> - filelib:is_dir(P) - end + P -> + case filelib:wildcard(filename:join(P, "*.jar")) of + [_|_] -> + true; + [] -> + false + end + end of true -> case find_executable(["java"]) of diff --git a/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src b/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src index ac8f2e619f..3143ab427b 100644 --- a/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src +++ b/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src @@ -68,7 +68,7 @@ EBINS = $(ERL_FILES:.erl=.@EMULATOR@) @IFEQ@ (@jinterface_classpath@,) all: -@ELSE +@ELSE@ all: $(CLASS_FILES) $(EBINS) @ENDIF@ |