Commit graph

3 commits

Author SHA1 Message Date
Evan Mallory
a683cf7486 Ignore failed tests on appveyor; only build next and master 2016-10-11 09:35:45 -04:00
Evan Mallory
0e691e76db Fix test harness to work with msys2
With this change, 97% of the tests pass. See the build on appveyor for more info: https://ci.appveyor.com/project/Evan/ledger/build/build-49

I'll follow up with another PR to fix some of the remaining broken tests
2016-09-23 08:14:30 -04:00
Evan Mallory
c193cc3a5b Fix build under msys32; add Appveyor continuous build
* Appveyor is a continuous integration platform for Windows that is free for open source projects. See latest test build here: https://ci.appveyor.com/project/Evan/ledger/build/artifacts

* Changed WIN32 to _WIN32 because this article http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system claims that it is defined by the greatest number of compilers.

* Modified HAVE_ISATTY and other system defines so that system.hh compiles when cmake fails to find the relevant function.

* Add missing include in test/unit/t_value.cc

Almost all tests fail when you run them on msys32. I will address that in a future PR.
2016-09-17 14:22:38 -04:00