Hi all!
I got Freecell Solver's AppVeyor build+tests to pass to my satisfaction -
see
https://ci.appveyor.com/project/shlomif/fc-solve . AppVeyor is a
windows-based continuous integration service. As I expected - it wasn't
easy - MS Windows being what it is - and was much harder (as I also
expected) than previous projects. It also took me several days. But now I'm
happy.
One thing that is a little frustrating about it is that during the process,
I don't think I ever fixed the production code, just the testing code. But
it may catch future errors.
I learned quite a bit about how the programming languages I used handle the
differences between unix systems and windows, namely:
1. CRLF vs LF differences.
2. Filesystem case insensitivity.
3. The .exe suffix of executables.
4. Shell quoting issues,
I learned the value of having a test suite after converting the
depth-dbm-freecell-solver from being based on libavl2 (
http://adtinfo.org/
) avl.c to being based on its rb.c, as my tests caught many bugs.
Other stuff:
1. I completed this feature issue of implementing batches of items in each
thread in the depth-dbm-solver -
https://github.com/shlomif/fc-solve/issues/7 .
2. There is a branch of moving from usleep to using a condition variable -
see
https://github.com/shlomif/fc-solve/issues/8 and
https://github.com/shlomif/fc-solve/tree/feature-branch--depth-dbm-solver--condvars--issue8
.
Enjoy and contributions are welcome.
--
Shlomi Fish http://www.shlomifish.org/
You can never truly appreciate The Gilmore Girls until you've watched it in
the original Klingon.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
Received on Tue Dec 20 2016 - 06:58:18 IST