summaryrefslogtreecommitdiff
path: root/doc/testing.txt
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2010-10-30 20:40:24 (GMT)
committerMarius Kintel <marius@kintel.net>2010-10-31 00:42:39 (GMT)
commitaa21cda5c70a50561006da6fe9baad80c752f6bf (patch)
tree54f12f3b10769e8a04fbe9381df0c99265c3db88 /doc/testing.txt
parent819ae6d181883767e1bfc46e6860479eed5a3b8c (diff)
How to run tests
Diffstat (limited to 'doc/testing.txt')
-rw-r--r--doc/testing.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/testing.txt b/doc/testing.txt
index e3856b0..ee429f7 100644
--- a/doc/testing.txt
+++ b/doc/testing.txt
@@ -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)
contact: Jan Huwald // Impressum