diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-05 10:13:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-05 10:13:43 +0200 |
| commit | 950f3f27b1bbd883767ae282be25414e04f11465 (patch) | |
| tree | caf688c071c2e87de8b0e0770ea76f3432c5734c /README.md | |
| parent | ce787387f258a4d7caab39d2c2c7d2161ae89a82 (diff) | |
| download | nissy-core-950f3f27b1bbd883767ae282be25414e04f11465.tar.gz nissy-core-950f3f27b1bbd883767ae282be25414e04f11465.zip | |
Added build target to run solvetests
Diffstat (limited to '')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -73,6 +73,8 @@ output, the results compared with the .out files) and test/last.err | |||
| 73 | Tests are always run in debug mode: this means that optimizations are | 73 | Tests are always run in debug mode: this means that optimizations are |
| 74 | disabled and some extra logging is enabled. | 74 | disabled and some extra logging is enabled. |
| 75 | 75 | ||
| 76 | More comprehensive tests (integration tests) can be performed with *tools*. | ||
| 77 | |||
| 76 | ## Running "tools" | 78 | ## Running "tools" |
| 77 | 79 | ||
| 78 | In the tools folder there are some small programs that test various | 80 | In the tools folder there are some small programs that test various |
| @@ -104,6 +106,18 @@ file in the tools/results folder. | |||
| 104 | 106 | ||
| 105 | To build and run a tool in debug mode, use `./build -d tool`. | 107 | To build and run a tool in debug mode, use `./build -d tool`. |
| 106 | 108 | ||
| 109 | ### The `solvetest` tools | ||
| 110 | |||
| 111 | The tools denoted with `solvetest` can be used to test that the various | ||
| 112 | solvers produce the correct solutions. They can be run individually as | ||
| 113 | all other tools, or all together with | ||
| 114 | |||
| 115 | ``` | ||
| 116 | $ ./build solvetest # Use -d for debug mode (very slow for some solvers) | ||
| 117 | ``` | ||
| 118 | |||
| 119 | If one of the solvetests fails, subsequent tests are going to be skipped. | ||
| 120 | |||
| 107 | ## Command-line interface | 121 | ## Command-line interface |
| 108 | 122 | ||
| 109 | The `shell` folder contains the code for a rudimentary shell that can | 123 | The `shell` folder contains the code for a rudimentary shell that can |
