On Mon, Jan 16, 2006 at 11:58:48PM -0000, Andy Hassall wrote: > So, what's the options? Here's some:
I haven't looked at the code that's failing, so some of my comments may be misguided. > (3) Get DBD::Oracle to call the win32 SetEnvironmentVariable directly, at > least during the testsuite, if building on Cygwin, rather than (or in > addition to) writing to $ENV. One module that looked promising was Env::C - > but even though this has "#if defined(WIN32)" tests, that just switches to > using _putenv instead of putenv - but not SetEnvironmentVariable. Add a SetEnvironmentVariable to the Win32:: module and use that? > (4) Limit the test suite under cygwin to only run those tests where > NLS_NCHAR is already set to the required value - i.e. never actually call > set_nls_nchar(). Would setting NLS_NCHAR and forking to run the tests for that value work?
