Commit Graph

25 Commits (4b5c61075f788a5e5eff10a3b2bc5cf6b1e0f22e)

Author SHA1 Message Date
Robert Marki 639d63217e Define CMake/CTest tests
Instead of copying the test executable and the JSON files used by
the tests at install time, define CMake/CTest tests for running
the json_unit executable from any build directory with the project's
source directory as its working directory.

- call enable_testing in the main lists file to allow the definition
of tests
- remove install commands from the test directory's lists file
- define two tests
  - json_unit_default for running the default tests by executing
json_unit without any arguments
  - json_unit_all for running all the tests by executing json_unit
with the "*" argument
- update the AppVeyor configuration file to use the new testing method
2016-05-18 11:53:49 +02:00
Chris Kitching 0e2f0c4edc
Repair appveyor... Horrifyingly
It's sort of gnarly that it's still doing in-tree builds, but I
really, _really_ don't want to get any more friendly with CMake's
Visual Studio generator to work out how to make it stop doing it.

In-tree builds still work, after all, and the goal of this work is
to make out-of-tree builds work as well. Notional horrors like
this will have to wait ;)
2016-05-11 14:02:53 +01:00
Niels 941c84e17d debugging 2015-08-14 15:30:06 +02:00
Niels 3c8c2766c1 debugging 2015-08-14 15:20:50 +02:00
Niels 23f70b47ad Appveyor fix 2015-08-14 15:09:16 +02:00
Niels 92fffaa872 cleanup 2015-07-16 19:53:42 +02:00
Niels a63c794521 some changes to Appveyor 2015-07-16 19:04:51 +02:00
Niels bf423363bd build in release mode on appveyor (from #88) 2015-06-20 15:13:45 +02:00
Niels 29e8ca64bd applied a part of #88 2015-06-20 14:13:48 +02:00
Niels 5f4fd0b6a2 reset 2015-06-03 23:44:45 +02:00
Niels 9dbb4402fb improved performance for dump() 2015-06-03 23:34:10 +02:00
Niels b67b13c29e Appveyor 2015-05-06 20:48:20 +02:00
Niels faae8bb843 some typename fix 2015-04-27 23:09:51 +02:00
Niels 14e54b2b72 Appveyor 2015-04-27 22:53:46 +02:00
Niels ecc97bcf96 added /EHsc parameter 2015-04-27 22:45:21 +02:00
Niels 1068ad106b fixed Makefile 2015-04-27 22:35:45 +02:00
Niels 0c0a462c28 Appveyor 2015-04-26 23:47:11 +02:00
Niels 257bf46133 Appveyor 2015-04-26 23:41:11 +02:00
Niels f3447b2b80 Appveyor 2015-04-26 23:14:51 +02:00
Niels 4a3c0edb75 Appveyor 2015-04-26 23:09:10 +02:00
Niels 4c7fbd7647 Appveyor 2015-04-26 23:03:15 +02:00
Niels 711e465f4a Appveyor test 2015-04-26 22:53:17 +02:00
Niels 1e20bfa14a another try 2015-04-26 22:47:40 +02:00
Niels 5e0d4d3830 does not 2015-04-26 22:09:15 +02:00
Niels a3ca1ae217 trying appveyor again 2015-04-26 22:00:20 +02:00