diff options
author | Raimo Niskanen <[email protected]> | 2012-11-26 09:34:05 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2012-11-26 09:34:05 +0100 |
commit | 7c4021a7555112affc7c37dd72f418ccc87ca647 (patch) | |
tree | 221621a561d178f1a8bd6a5ae489de23f8d943e4 /lib/ic | |
parent | c9f679812646bb7e9b4d98752d1ce068237d1e8a (diff) | |
parent | 87b4ec9a0b2e4bbe1180e8a26700072f49303508 (diff) | |
download | otp-7c4021a7555112affc7c37dd72f418ccc87ca647.tar.gz otp-7c4021a7555112affc7c37dd72f418ccc87ca647.tar.bz2 otp-7c4021a7555112affc7c37dd72f418ccc87ca647.zip |
Merge branch 'raimo/daily-build-fixes' into maint
* raimo/daily-build-fixes:
Fix erroneous skipping for jinterface, erl_interface and ic
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@ |