mirror of https://github.com/vitalif/openscad
How to run tests
parent
819ae6d181
commit
aa21cda5c7
|
@ -1,4 +1,18 @@
|
|||
Running regression tests:
|
||||
-------------------------
|
||||
|
||||
Prerequisites: cmake, python
|
||||
|
||||
cd tests
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
make test
|
||||
|
||||
|
||||
Adding a new regression test:
|
||||
------------------------------
|
||||
|
||||
1) create a test file at an appropriate location under testdata/
|
||||
2) if the test is non-obvious, create a human readable description of the test in the same directory (e.g testdata/scad/mytest.txt)
|
||||
|
|
Loading…
Reference in New Issue