aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/test/jinterface_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-07 17:52:12 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:39:00 +0100
commit5fef403779c4894189abf6fd18e6c8e5d54064c5 (patch)
treed9d647a90cb7c95dcc7607d6cc2a8e58ffc8ea82 /lib/jinterface/test/jinterface_SUITE.erl
parentd8a27daee264991e14def9b2e40f10c8f6d8e4d3 (diff)
downloadotp-5fef403779c4894189abf6fd18e6c8e5d54064c5.tar.gz
otp-5fef403779c4894189abf6fd18e6c8e5d54064c5.tar.bz2
otp-5fef403779c4894189abf6fd18e6c8e5d54064c5.zip
Update all test specs
Diffstat (limited to 'lib/jinterface/test/jinterface_SUITE.erl')
-rw-r--r--lib/jinterface/test/jinterface_SUITE.erl9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/jinterface/test/jinterface_SUITE.erl b/lib/jinterface/test/jinterface_SUITE.erl
index db33059af5..b42101908e 100644
--- a/lib/jinterface/test/jinterface_SUITE.erl
+++ b/lib/jinterface/test/jinterface_SUITE.erl
@@ -163,7 +163,14 @@ status_handler() ->
init_per_suite(Config) when is_list(Config) ->
- jitu:init_all(Config).
+ case case code:priv_dir(jinterface) of
+ {error,bad_name} -> false;
+ P -> filelib:is_dir(P) end of
+ true ->
+ jitu:init_all(Config);
+ false ->
+ {skip,"No jinterface application"}
+ end.
end_per_suite(Config) when is_list(Config) ->
jitu:finish_all(Config).