[DBIx-Class-Devel] [DBIx-Class-Fixtures] Changes to allow MSWin32 to PASS (#9)
Paul
notifications at github.com
Mon Jan 25 17:46:20 GMT 2016
First and foremost, to work on Windows, IO::All must be patched [see IO::All Pull Request #81](https://github.com/ingydotnet/io-all-pm/pull/81)
After patching my IO::All, I still encountered errors on Windows. To correct those errors, I made the following changes:
* In t/12-populate-basic.t, DBICTest could not delete the database unless you disconnected first.
* Forcing the $schema variable out of scope causes the disconnect, allowing the database to be deleted.
* In t/compile.t, failed on Windows because regex assumed Linux path separator / but on Windows the path separator is \.
* Using File::Spec and File::Basename makes tests OS independent.
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9
-- Commit Summary --
* Force $schema out of scope to allow DB to be deleted
* Made independent of OS by using File::Spec
-- File Changes --
M t/12-populate-basic.t (12)
M t/compile.t (10)
-- Patch Links --
https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.patch
https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160125/c557ae30/attachment.htm>
More information about the DBIx-Class-Devel
mailing list