Marius Kintel
65e65b6c4c
Support cmake < 2.8.3
2013-03-09 13:05:07 -05:00
Marius Kintel
2ab5a0cc9b
Use function instead of module to avoid leaking global variables
2013-03-08 11:29:55 -05:00
Marius Kintel
5acc695399
Generalized the test driver a tiny bit
2013-03-08 11:08:36 -05:00
don bright
974abf1304
fix strecthing with --imgsize per bug rept from Marius Kintel
2013-03-05 21:10:10 -06:00
Marius Kintel
4734172c3a
Tag test as heavy
2013-03-05 14:16:59 -05:00
don bright
9896b6f15e
first working version of opencsg png export from gui binary
...
also guiopencsgtest introduced. passes 100% of 'normal' tests
2013-02-24 21:07:37 -06:00
don bright
ca41979ee5
Merge branch 'master' of github.com:openscad/openscad into issue11_2
...
Conflicts:
RELEASE_NOTES
openscad.pro
src/mainwin.cc
2013-02-23 21:54:53 -06:00
don bright
ce2a9a8cb5
move enable_opencsg_shaders from csgtestcore to OffscreenView.cc
2013-02-23 20:54:13 -06:00
don bright
0f977609b4
put qglview.h into mainwin for deps. unify camera functions into glview.
...
remove duplicate code.
2013-02-23 18:50:20 -06:00
don bright
b7d1c94dc1
remove unnecessary copy of test_pretty_print.py to builddir
2013-02-19 19:47:01 -06:00
Don Bright
3fc620c965
new upload design using python paramiko. also fix glew bugs.
2013-02-18 19:45:37 -06:00
don bright
7160ab5610
get pretty_printing working under MINGW cross build. update docs
2013-02-16 09:37:01 -06:00
don bright
063a288dce
fix imagemagick finding under mingw cross build test
2013-02-16 07:37:16 -06:00
don bright
f4c8660864
make dumptests work (on linux/mac) when SKIP_IMAGEMAGICK set
2013-02-15 05:29:53 +01:00
don bright
5138dca395
remove debug msg
2013-02-14 19:33:34 -06:00
don bright
c1b1d0992f
tweaks to get tests working on a cross-compile under Wine
2013-02-12 01:07:54 -06:00
Marius Kintel
a4fea6df86
Tag all heavy cgal tests as heavy also for the GUI tests
2013-02-07 15:57:01 -05:00
Marius Kintel
4e519078d6
Merge branch 'master' into issue11_2
2013-02-07 13:43:20 -05:00
don bright
44cddd0b3c
Merge branch 'master' of github.com:openscad/openscad into cmake_workaround
...
Conflicts:
tests/virtualfb.sh
2013-02-03 02:40:26 +01:00
don bright
b390d54471
fix bug in test_pretty_print.cc / Cmakefile
...
The build needs to be after Python binary has been found because the Python
binary path is passed to the .cc compile through a -D flag.
2013-02-03 01:39:43 +01:00
don bright
1a545b75f6
workaround cmake 2.8.10 not allowing CTEST_CUSTOM_POST_TEST arguments
2013-02-02 15:44:25 -08:00
don bright
1f39090cc0
fix GLU issues caued by mesa split from glu. clarify test error msg
2013-01-31 20:16:28 -08:00
don bright
e184c014f0
tests:detect whether openscad gui binary has been built - fail if not
2013-01-31 05:36:12 +01:00
don bright
8ba6a78288
add correct test result images, and minor cleanup
2013-01-31 04:14:09 +01:00
don bright
997a0afac3
Merge branch 'master' and fix bugs
...
Conflicts:
src/openscad.cc
tests/CMakeLists.txt
2013-01-31 03:58:34 +01:00
don bright
d0de384a7e
translate shell script wrapper into C++ code, for portability
2013-01-31 03:42:33 +01:00
Marius Kintel
961dd79d9d
Use file(COPY) instead of configure_file(). Port to Mac
2013-01-29 21:04:41 -05:00
Marius Kintel
81264c1d26
Merge pull request #256 from openscad/glewfix
...
fix bugs and rewrite GLEW finding code to be more clear.
2013-01-28 09:02:46 -08:00
don bright
d6f2cc1a1e
if we are on linux/BSD and there's no X running, try Xvfb automatically.
...
also workaround some Gallium bugs and Imagemagick bugs
2013-01-28 06:38:50 +01:00
don bright
d09e0e7f42
fix pkg-config to actually work
2013-01-28 05:15:38 +01:00
don bright
9f83c8ffe7
fix bugs and rewrite GLEW finding code to be more clear.
2013-01-27 20:06:08 +01:00
don bright
391c725aeb
integrate gui cmdline into test framework
2013-01-26 18:55:47 +01:00
Marius Kintel
810f1a8618
Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. Fixes #221
2013-01-08 13:26:25 -05:00
don bright
f54797cfbd
fixes for test suite and gcc
2012-10-28 20:22:04 +01:00
Marius Kintel
65fc1d6b01
Detect recursive execution of functions to avoid a stack overflow crash. Fixes #200
2012-10-09 23:32:56 -04:00
Marius Kintel
a629560cee
Merge pull request #186 from openscad/issue185
...
Issue185
2012-08-21 17:31:28 -07:00
don bright
358129cad6
improve test scad. don't use dumptest(), 'nan' is a bit of a problem
2012-08-21 02:39:18 +02:00
Marius Kintel
1e56bf65b9
Merge commit '765f1a98dc124e1913b53ea8467908b8b8bda032'
2012-08-20 19:49:00 -04:00
don bright
a5da9c899b
improve test scad
2012-08-21 01:40:06 +02:00
Marius Kintel
b5cc07098b
collect library dependencies a bit to reduce duplication
2012-08-20 19:15:14 -04:00
Marius Kintel
63882721d7
Added support for Mac OS X Lion
2012-08-20 08:56:29 -04:00
don bright
765f1a98dc
cleanup
2012-08-19 08:29:22 -05:00
don bright
fc945bfdc4
fix small bugs in eigen build scripts
2012-08-19 08:27:49 -05:00
don bright
5d31f56d93
look for EIGENDIR env var. (also look for EIGEN2DIR for backwards compatability)
2012-08-19 08:10:33 -05:00
don bright
a9045315ba
rewrite Eigen detection in CMakelists. cleanup files for pull request.
2012-08-19 07:58:30 -05:00
don bright
aa2c67d249
make EIGEN_DONT_ALIGN flag work. also remove warnings when using clang.
2012-08-18 21:35:12 -05:00
don bright
c4d68588a6
modify build system to auto-detect eigen3, and fallback to eigen2
2012-08-19 00:14:17 +02:00
don bright
10c7607541
more eigen3 fixes.
...
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'.
2. initial version of changes to CMakelists.txt for the regression test
2012-08-18 22:44:46 +02:00
Marius Kintel
38cb06c3f0
Added test cases for issue #123
2012-06-04 11:22:09 +02:00
don bright
cd2d2dabf6
enable CMAKE to find glew on systems that use 'lib64'
2012-06-02 21:57:28 +02:00
Andrew Plumb
d3528779bb
Added dumptest_example023 to disable_tests()
2012-02-18 23:20:28 -05:00
Marius Kintel
45c180e8e3
Disable test causing floating point comparison issues
2012-02-18 18:44:45 +01:00
Marius Kintel
a232426798
Merge branch 'glewfix'
2012-02-18 17:18:17 +01:00
Marius Kintel
79d9fdba32
GLEW fix: Support GLEW installed in the default system location
2012-02-18 16:57:24 +01:00
Marius Kintel
d460e7203f
Try pkg-config to find GLEW if no override path was specified. Simplifies build on Ubuntu
2012-02-18 16:26:56 +01:00
Marius Kintel
ccde313570
Removed redundant dependency on tests-common
2012-02-18 16:05:16 +01:00
Marius Kintel
4f8c89ecf0
Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function
2012-02-18 12:51:51 +01:00
Marius Kintel
4b54876b7a
Merge branch 'master' into modulecache
2012-02-17 23:08:29 +01:00
Andrew Plumb
505e808067
Added search function
...
Search for characters, strings and integers in a lookup table and
return the index (or indices) for matches.
2012-02-14 23:04:40 -05:00
Andrew Plumb
5d6a259a8b
Added vector math support.
...
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
2012-02-14 21:22:48 -05:00
Marius Kintel
b9d218e137
Initial implementation of ModuleCache and dependency tracking of used modules
2012-02-15 01:32:37 +01:00
Marius Kintel
2def247b1b
Minor refactor: use set/get_librarydir() to access global variable
2012-02-02 22:50:51 +01:00
Marius Kintel
e541df8bb5
Added test case for recently fixed csg normalization bugfix
2012-01-29 19:02:19 +01:00
Marius Kintel
ed02aa85ef
The tests no longer depend on QtGui or QtOpenGL
2012-01-25 21:12:50 +01:00
Don Bright
864c39f5fb
fix boosty.h docs / layout. chg boost CMake minver back to 1.35.0
2012-01-14 14:14:26 -06:00
donb
65a1c9cf6c
add boosty.h for compatability with boost <1.44
2012-01-14 05:02:15 +01:00
Marius Kintel
10701f7158
Added absolute path tests to include and use tests, fixed bug using absolute paths in use and include
2012-01-14 03:25:09 +01:00
Don Bright
1cec18d9c0
Require Boost 1.44, and set BOOST_FILESYSTEM_VERSION=3 on .44 and .45
2012-01-12 18:35:34 -06:00
Marius Kintel
a4810e0019
Added cgalcachetest
2012-01-10 00:01:51 +01:00
Marius Kintel
ad338d3e46
Another try at fixing double-to-text conversion for testing
2012-01-09 01:44:01 +01:00
Marius Kintel
d3c9654ed5
Merge branch 'inftest' of https://github.com/brad/openscad into brad-inftest
2012-01-09 00:22:38 +01:00
Brad Pitcher
28f5f7a910
added tests passing infinity to various functions
2012-01-08 11:40:04 -08:00
Marius Kintel
fdce8d15fc
Merge branch 'master' into boost_filesystem
...
Conflicts:
boost.pri
src/lexer.l
tests/CMakeLists.txt
2012-01-04 23:07:32 +01:00
Marius Kintel
9856607d27
Merge pull request #54 from openscad/parserfix
...
fix crash bug rpt by nop head - 'use <x.scad>' when x.scad doesnt exist
2012-01-04 09:05:30 -08:00
Marius Kintel
9bac643ed8
Merge pull request #55 from openscad/netbsd_build
...
Netbsd build
2012-01-04 09:04:21 -08:00
don bright
c0ccad0216
adding flags for NetBSD build
2012-01-03 23:05:02 +00:00
Marius Kintel
fac508c8cd
Added use-tests, minimal change to include-tests
2012-01-03 20:34:31 +01:00
Don Bright
e437182c09
add --mingw-cross-env switch to test_cmdline_tool.py
2012-01-03 12:27:03 -06:00
don bright
277c762912
changes to enable building on NetBSD
2012-01-03 18:21:28 +01:00
Don Bright
b9c027a699
use pkg-config to find QT libraries in mingw-cross-env, not FindQt4.cmake
2012-01-02 20:44:50 -06:00
don bright
7860d85daa
add -no-strict-aliasing for mingw cross compiles. add lzma lib flag
2011-12-31 15:53:39 -08:00
Don Bright
3f1cb83f4b
various tweaks for cross compiling tests under mingw
2011-12-31 17:02:34 -06:00
don bright
3d686118bb
enable linux->mingw32 cross-compilation of tests
2011-12-31 17:02:55 +01:00
Marius Kintel
e88cbddec5
Disabled a few more dumptests due to floating point differences
2011-12-29 13:56:36 +01:00
Marius Kintel
bc35b37676
Disabled a few dump tests causing floating point comparison issues
2011-12-28 17:53:09 +01:00
Marius Kintel
3d2a4d342b
Merge branch 'buildfix' of github.com:openscad/openscad into buildfix
2011-12-27 14:44:08 +01:00
don bright
4dd727b390
fix pre/ appending of includes on systems w mult libs + OPENSCAD_LIBRARIES
2011-12-26 16:32:33 -06:00
Marius Kintel
cde24f6815
Merge branch 'master' into buildfix
2011-12-26 21:20:05 +01:00
don
0582999233
print boost_root when it's under OPENSCAD_LIBRARIES, otherwise skip print
2011-12-26 12:51:30 -06:00
Marius Kintel
bc3454f369
Refactored normalization into a separate class, hard-limited normalization to stop at 5000 nodes to keep from normalizing 'forever'
2011-12-26 19:15:51 +01:00
don bright
3c3cf02f4a
if CGAL's -DMAKE_INSTALL_PREFIX=$X, then enable finding of CGAL in $X
2011-12-26 10:01:03 -08:00
don bright
1aadb679de
fix bug on system with OPENSCAD_LIBRARIES + mult versions of boost
2011-12-26 09:53:22 -08:00
don bright
f6ba8cd53a
fix build w mult. versions of boost when OPENSCAD_LIBRARIES used
2011-12-26 17:35:42 +01:00
don bright
1e57a14785
fix eigen2 finding bug
2011-12-26 17:03:04 +01:00
Marius Kintel
cbabbaed70
Merge branch 'master' into boost_filesystem
...
Conflicts:
openscad.pro
src/module.h
2011-12-26 16:37:00 +01:00
Marius Kintel
d91021746a
Added test case for nan occuring in exported STL files
2011-12-26 13:21:29 +01:00
Marius Kintel
0bbfa9efb0
Modified eigen2 test to work for system-eigen2 and OPENSCAD_LIBRARIES without eigen2
2011-12-25 17:58:24 +01:00
don bright
c5511b05ec
find eigen2 when OPENSCAD_LIBRARIES is set in regression test build
2011-12-25 03:10:22 +01:00
Marius Kintel
0ab51d2d23
Extracted librarydir initialization to separate function
2011-12-24 22:02:37 +01:00
Marius Kintel
d6efe5cbcb
Merge branch 'master' into boost_filesystem
...
Conflicts:
tests/CMakeLists.txt
2011-12-23 21:14:12 +01:00
Marius Kintel
9fa18d5392
Fixed CSG regression reported by Ed Nisley; bounding boxes are now transformed correctly
2011-12-23 14:33:40 +01:00
Marius Kintel
03a2da9f4a
Test case for recent CSG regression reported by Ed Nisley
2011-12-23 14:12:35 +01:00
Marius Kintel
32a888c873
Merge branch 'master' of https://github.com/donbright/openscad into donbright-master
2011-12-19 19:42:13 +01:00
Marius Kintel
339aec3911
Supply the REQUIRED parameter to the find macros
2011-12-19 16:30:43 +01:00
Marius Kintel
87ce149df2
Merge branch 'master' into boost_filesystem
...
Conflicts:
boost.pri
tests/CMakeLists.txt
2011-12-19 15:41:11 +01:00
Don Bright
3763f373b2
add no-strict-aliasing to cmake of regression tests, fixing CGAL/GCC bugs
2011-12-17 17:32:17 -06:00
Marius Kintel
de282d1ae8
Compile tests with -O2 -g as default
2011-12-17 14:47:11 +01:00
Marius Kintel
6aa1a6d4c8
Some more build system cleaning
2011-12-15 05:17:04 +01:00
don
30e1747f5e
fix EIGEN2DIR cmake syntax
2011-12-14 18:23:07 -06:00
don
1f790437ea
fix freebsd build, improve test_pretty_print error handle, improve documentation
2011-12-14 15:02:55 -06:00
Don Bright
7781ae7015
fix cmake path bugs. rewrite testing to match non-underscore DIR variables.
2011-12-13 17:53:12 -06:00
Marius Kintel
ed06583eca
Use the same env. variables as in openscad.pro. NB\! This may break some build scripts\!
2011-12-13 01:23:39 +01:00
Marius Kintel
9ed8d9a673
Some small refactoring of color handling to support using the color() module to change only alpha
2011-12-11 23:45:14 +01:00
Marius Kintel
2e3ea0a64f
Merge branch 'cakebaby' of https://github.com/donbright/openscad into donbright-cakebaby
2011-12-07 21:36:29 +01:00
Don Bright
faae7882e2
fix pretty
2011-12-07 00:56:40 -06:00
don bright
9a665075c9
update FindBoost from cmake git. improve crash handling + boost finding
2011-12-06 22:36:33 -08:00
Marius Kintel
679b8d05c8
bugfix: 2D hull() now works with for loops. Thanks to nophead to reasserting this bug.
2011-12-07 05:21:11 +01:00
don bright
d26effccf4
allow alternate image comparison using option to cmake
2011-12-06 20:20:17 -08:00
Don Bright
750f3c8fc9
cleanup
2011-12-06 18:56:58 -06:00
Marius Kintel
b3fa4d98a4
Added regex to boost build
2011-12-06 22:34:43 +01:00
Marius Kintel
ae30a79784
Ported from QFileInfo to boost::filesystem
2011-12-06 04:09:39 +01:00
Marius Kintel
d392ee33f6
Commented out yee_compare
2011-12-06 01:17:03 +01:00
Don Bright
b1b46e8070
fix up testing, add opencsg version info
2011-11-30 22:24:14 -06:00
Don Bright
610ab20ddb
Merge remote branch 'upstream/master' into cakebaby
...
Conflicts:
doc/testing.txt
tests/CMakeLists.txt
tests/system-gl.cc
tests/system-gl.h
2011-11-26 22:21:38 -06:00
Don Bright
2376814f2c
make opencsg use framebuffer not pbuffer
2011-11-26 21:35:53 -06:00
Marius Kintel
9038f6b857
Use macro instead of functions since we may change global variables
2011-11-26 23:33:53 +01:00
Marius Kintel
07800da508
Better config handling
2011-11-26 19:25:16 +01:00
Don Bright
8197294d4c
Merge branch 'cakebaby' of github.com:donbright/openscad into cakebaby
...
Conflicts:
tests/CMakeLists.txt
2011-11-26 12:17:54 -06:00
Marius Kintel
9171a48b1b
Reorganized a bit, added support for test configurations
2011-11-26 18:58:53 +01:00
Don Bright
2bd48629ef
add CGAL version to info
2011-11-26 11:24:38 -06:00
don bright
14b4ed4b5b
Merge remote-tracking branch 'upstream/master' into cakebaby
...
and tweak tests for win32 run
Conflicts:
tests/test_cmdline_tool.py
2011-11-26 11:11:55 -06:00
Marius Kintel
42d7099089
Attempt to batte floating point rounding differences for testing purposes
2011-11-24 23:10:46 +01:00
Marius Kintel
3f0a991a3d
Bail if CGAL < 3.6
2011-11-24 18:09:17 +01:00
Don Bright
4843022bf4
Merge remote branch 'upstream/master' into cakebaby
2011-11-21 17:35:13 -06:00
Marius Kintel
077c144c86
Merge branch 'cache'
2011-11-21 21:00:44 +01:00
Don Bright
b6b3e52543
add more info to --info dumps. improve wiki output
2011-11-16 05:58:07 -06:00
don bright
bf564e8059
windows fixes for pretty printing test results.
2011-11-13 23:13:59 -06:00
Don Bright
c4231685f6
option '--info' to opencsgtest for windows. also output html + wiki code.
2011-11-13 14:34:01 -06:00
Brad Pitcher
af2d4223df
string indexing tests
2011-11-13 12:15:28 -08:00
Don Bright
1f9ce62573
Merge branch 'master' into cakebaby
2011-11-13 10:40:20 -06:00
Don Bright
3eb466b5a9
add pretty_print step to ctest run. add '-info' option to opencsgtest.
2011-11-13 10:39:34 -06:00
Marius Kintel
9c14544a92
Hooked up function tests
2011-11-12 20:53:12 +01:00
Marius Kintel
8fd4c47835
Reorganized some tests
2011-11-12 20:46:00 +01:00
Marius Kintel
cabff81c70
Merge branch 'master' into cache
2011-11-09 18:40:52 +01:00
Marius Kintel
e65ea2d651
Only quote strings when using the stream operator. Fixes #35
2011-11-09 18:38:52 +01:00
Marius Kintel
9146f16492
Ported QCache and related code away from Qt
2011-11-09 03:18:11 +01:00
Marius Kintel
f5ce77d435
set -DDEBUG for debug builds
2011-11-08 05:12:49 +01:00
Marius Kintel
5e6cd31bed
wops, wrong test name. fixes echotest_string-test error
2011-11-07 05:36:17 +01:00
Marius Kintel
7bec474b34
Added escape-test
2011-11-07 03:51:43 +01:00
Marius Kintel
6aaff8e2df
Merge branch 'master' of github.com:openscad/openscad
2011-11-07 03:05:45 +01:00