2016-06-15 Oddmuse and Windows

Today I ran the Oddmuse test suite on Windows and it worked! I am amazed.

All tests successful.
Files=136, Tests=2907, 1028 wallclock secs ( 0.41 usr  0.45 sys + 211.30 cusr 219.98 csys = 432.14 CPU)
Result: PASS

I had already installed Cygwin and had used it to install Perl v5.22.2. I don’t think I ever ran `cpan` on this system because I had to set it up. It created `$USERPROFILE/AppData/Roaming/perl5/` for me and set up `local::lib`.

And then I started installing.

I needed some libraries and a compiler which I installed via Cygwin. I already had the diff utils installed, but perhaps you never needed them. Oddmuse needs them.

diffutils
gcc-g++
libcrypt-devel
libexpat-devel
libxml2-devel
libgd-devel
libdb-devel

Then I started by installing `cpanm`.

cpan App::cpanminus

I had to add `/usr/local/bin` to my `PATH`.

`cpanm CGI XML::Atom IO::Pipely Mojolicious Mojolicious::Plugin::CGI Toadfarm HTTP::Server::Simple Pod::Strip Crypt::Rijndael Crypt::Random::Seed RPC::XML HTML::Template Capture::Tiny MLDBM Captcha::reCAPTCHA DB_File XML::LibXML GD Time::ParseDate`

And with that, I could finally run `prove t`. I’ll note, however, that `make test` caused `t/big-brother.t` to fail, perhaps because it runs with 4 jobs which overwhelmed my machine.

​#Windows ​#Oddmuse

Comments

(Please contact me if you want to remove your comment.)

Perhaps add that info here: https://oddmuse.org/wiki/Unit_Testing ?

https://oddmuse.org/wiki/Unit_Testing

– AlexDaniel 2016-06-17 20:18 UTC

---

Good idea.

– Alex Schroeder 2016-06-17 21:00 UTC