From edd9a067a5c38397558d99696404b98b400f96a3 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Fri, 26 Aug 2011 17:35:02 +0200 Subject: 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. --- lib/odbc/test/odbc_data_type_SUITE.erl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib') 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. -- cgit v1.2.3