diff options
author | Lukas Larsson <[email protected]> | 2010-12-07 17:52:12 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-02-17 17:39:00 +0100 |
commit | 5fef403779c4894189abf6fd18e6c8e5d54064c5 (patch) | |
tree | d9d647a90cb7c95dcc7607d6cc2a8e58ffc8ea82 /lib/jinterface/test/nc_SUITE.erl | |
parent | d8a27daee264991e14def9b2e40f10c8f6d8e4d3 (diff) | |
download | otp-5fef403779c4894189abf6fd18e6c8e5d54064c5.tar.gz otp-5fef403779c4894189abf6fd18e6c8e5d54064c5.tar.bz2 otp-5fef403779c4894189abf6fd18e6c8e5d54064c5.zip |
Update all test specs
Diffstat (limited to 'lib/jinterface/test/nc_SUITE.erl')
-rw-r--r-- | lib/jinterface/test/nc_SUITE.erl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/jinterface/test/nc_SUITE.erl b/lib/jinterface/test/nc_SUITE.erl index fde2fd5071..f9a588f32c 100644 --- a/lib/jinterface/test/nc_SUITE.erl +++ b/lib/jinterface/test/nc_SUITE.erl @@ -69,12 +69,15 @@ init_per_group(_GroupName, Config) -> end_per_group(_GroupName, Config) -> Config. - - - - 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) -> jitu:finish_all(Config). |