diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-06-02 20:15:28 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-06-02 20:15:28 (GMT) |
commit | 25dca401e701f102e7360dc009064f12f1bf3a13 (patch) | |
tree | 93b23e069b9b0cecae77ff38664158ea6d518fcb /doc | |
parent | cd2d2dabf616e2e82a3d2c4de876ccef05f92e38 (diff) |
improve documentation for test builds under unix/linux
Diffstat (limited to 'doc')
-rw-r--r-- | doc/testing.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/testing.txt b/doc/testing.txt index 6990c2f..dbe0791 100644 --- a/doc/testing.txt +++ b/doc/testing.txt @@ -77,6 +77,10 @@ virtual framebuffer program like Xvnc or Xvfb. For example: $ Xvfb :5 -screen 0 800x600x24 & $ DISPLAY=:5 ctest +or + +$ xvfb-run ctest + Some versions of Xvfb may fail, however. 1. Trouble finding libraries on unix @@ -84,13 +88,18 @@ Some versions of Xvfb may fail, however. To help CMAKE find eigen2, OpenCSG, CGAL, Boost, and GLEW, you can use environment variables, just like for the main qmake & openscad.pro. Examples: - OPENSCAD_LIBRARIES=~ cmake . - CGALDIR=~/CGAL-3.9 BOOSTDIR=~/boost-1.47.0 cmake . - + OPENSCAD_LIBRARIES=$HOME cmake . + CGALDIR=$HOME/CGAL-3.9 BOOSTDIR=$HOME/boost-1.47.0 cmake . + Valid variables are as follows: BOOSTDIR, CGALDIR, EIGEN2DIR, GLEWDIR, OPENCSGDIR, OPENSCAD_LIBRARIES + When running, this might help find your locally built libraries (assuming + you installed into $HOME) + + export LD_LIBRARY_PATH=$HOME/lib:$HOME/lib64 + 2. Location of logs Logs of test runs are found in tests/build/Testing/Temporary |