aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2011-08-26 17:35:02 +0200
committerIngela Anderton Andin <[email protected]>2011-08-26 17:35:02 +0200
commitedd9a067a5c38397558d99696404b98b400f96a3 (patch)
tree1262ec1734905c972874f634ad5ab5ddac394ec0 /lib/odbc
parent9a52e239698ae62cddbc0d780502c72458867b6f (diff)
downloadotp-edd9a067a5c38397558d99696404b98b400f96a3.tar.gz
otp-edd9a067a5c38397558d99696404b98b400f96a3.tar.bz2
otp-edd9a067a5c38397558d99696404b98b400f96a3.zip
Skip utf8 test case on linux 64 due to old driver
When the test environment supports a newer Postgres driver, (newer than psqlODBC 08.04.0200) the utf8 test case should work as expected and can be enabled again.
Diffstat (limited to 'lib/odbc')
-rw-r--r--lib/odbc/test/odbc_data_type_SUITE.erl6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/odbc/test/odbc_data_type_SUITE.erl b/lib/odbc/test/odbc_data_type_SUITE.erl
index 323190dd99..d61a91f973 100644
--- a/lib/odbc/test/odbc_data_type_SUITE.erl
+++ b/lib/odbc/test/odbc_data_type_SUITE.erl
@@ -89,17 +89,15 @@ init_per_group(GroupName, Config) when GroupName == fixed_char;
end;
init_per_group(unicode, Config) ->
- %% Uses parameterized queries
- case {os:type(), erlang:system_info(wordsize)} of
+ case {os:type(), erlang:system_info({wordsize, external})} of
{{unix, _}, 4} ->
Config;
{{unix, _}, _} ->
- {skip, "Not supported by driver"};
+ {skip, "Postgres drivers pre version psqlODBC 08.04.0200 have utf8-problems"};
_ ->
Config
end;
-
init_per_group(_GroupName, Config) ->
Config.