Commit Graph

268 Commits (7294d29789606111dcc2c9eafd451ce660f2cb15)

Author SHA1 Message Date
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