From b6a2cf0054dd6639bfb72fd472a60cbf3ad53b7a Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Thu, 24 Nov 2011 12:53:14 +0200 Subject: Set NLSLANG environment variable for Windows tests This environment variable is required by the call to OCIEnvNlsCreate. --- test/windows/odb/setenv.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/windows') diff --git a/test/windows/odb/setenv.bat b/test/windows/odb/setenv.bat index d23f85c..dd73cba 100755 --- a/test/windows/odb/setenv.bat +++ b/test/windows/odb/setenv.bat @@ -11,7 +11,8 @@ set ORACLE64=c:\projects\oracle64 set QTCORE=c:\projects\qtcore set QTCORE64=c:\projects\qtcore64 set "ORACLE_OPTIONS=-L -S" -set "DIFF=c:\cygwin\bin\diff.exe -ubB" +set "NLSLANG=AMERICA_AMERICA.WE8MSWIN1252" +if defined NLS_LANG SET NLSLANG=NLS_LANGset "DIFF=c:\cygwin\bin\diff.exe -ubB" rem set "DEVENV=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.com" set "DEVENV=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" set PATH=%ODB%\libodb\bin;%ODB%\libodb-sqlite\bin;%ODB%\libodb-mysql\bin;%ODB%\libodb-pgsql\bin;%ODB%\libodb-oracle\bin;%ODB%\libodb-boost\bin;%ODB%\libodb-qt\bin;%MYSQL%\bin;%SQLITE%\bin;%PGSQL%\bin;%ORACLE%\bin;%QTCORE%\bin;%PATH% -- cgit v1.1