diff options
author | Ingela Anderton Andin <[email protected]> | 2011-08-17 14:18:08 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2011-08-17 14:18:08 +0200 |
commit | 51e952943128d9ae546bee3fc79e8cb8998dfb57 (patch) | |
tree | d6a60cf581cbc566ead84e8174c7915eb7bdeafc /lib/odbc/test/odbc_query_SUITE.erl | |
parent | 46af29aac0e851105620dab25644cf27219e2b0a (diff) | |
parent | 95a09939d033f8bf347f5196a9cccc4d3d34e056 (diff) | |
download | otp-51e952943128d9ae546bee3fc79e8cb8998dfb57.tar.gz otp-51e952943128d9ae546bee3fc79e8cb8998dfb57.tar.bz2 otp-51e952943128d9ae546bee3fc79e8cb8998dfb57.zip |
Merge branch 'ia/odbc/skip-tests-because-of-driver-issues' into dev
* ia/odbc/skip-tests-because-of-driver-issues:
Skip test if not applicable
Diffstat (limited to 'lib/odbc/test/odbc_query_SUITE.erl')
-rw-r--r-- | lib/odbc/test/odbc_query_SUITE.erl | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/lib/odbc/test/odbc_query_SUITE.erl b/lib/odbc/test/odbc_query_SUITE.erl index 76a214d553..1852678b4b 100644 --- a/lib/odbc/test/odbc_query_SUITE.erl +++ b/lib/odbc/test/odbc_query_SUITE.erl @@ -89,6 +89,7 @@ init_per_group(scrollable_cursors, Config) -> _ -> Config end; + init_per_group(_,Config) -> Config. @@ -105,11 +106,16 @@ end_per_group(_GroupName, Config) -> %% variable, but should NOT alter/remove any existing entries. %%-------------------------------------------------------------------- init_per_suite(Config) when is_list(Config) -> - case (catch odbc:start()) of - ok -> - [{tableName, odbc_test_lib:unique_table_name()}| Config]; - _ -> - {skip, "ODBC not startable"} + case odbc_test_lib:skip() of + true -> + {skip, "ODBC not supported"}; + false -> + case (catch odbc:start()) of + ok -> + [{tableName, odbc_test_lib:unique_table_name()}| Config]; + _ -> + {skip, "ODBC not startable"} + end end. %%-------------------------------------------------------------------- |