Commit Graph

484 Commits (4e6e390d7c37de5ee377a17fa7b7708f7e8886a0)

Author SHA1 Message Date
Brad Pitcher 28f5f7a910 added tests passing infinity to various functions 2012-01-08 11:40:04 -08:00
Marius Kintel 3c18145b13 Merge branch 'master' into boost_filesystem 2012-01-08 19:14:30 +01:00
Don Bright 7af27e1838 add CMAKE_RC_COMPILER to fix bug report by Brad Pitcher 2012-01-07 07:15:49 -06:00
Don Bright c3a2dfcf47 fix typo in path to CMingw-cross-env.cmake in instructions 2012-01-06 18:56:03 -06:00
Marius Kintel 666621e220 Additional fixes after merging with master 2012-01-04 23:27:59 +01: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 f5b1e37f2d do not need 'installation prefix' for tests 2012-01-04 00:41:52 -06:00
don bright c0ccad0216 adding flags for NetBSD build 2012-01-03 23:05:02 +00:00
Marius Kintel 9f16204889 Added expected files for use-tests 2012-01-03 20:47:09 +01:00
Marius Kintel fac508c8cd Added use-tests, minimal change to include-tests 2012-01-03 20:34:31 +01:00
Marius Kintel 597c561107 Ignore more generated files 2012-01-03 20:33:11 +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 807261e01e fix typo in test build script 2011-12-31 15:39:48 -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 6b5c103d57 Merge branch 'master' into color-priority 2011-12-28 18:16:17 +01:00
Marius Kintel 732803039d Slightly modified example008 to reduce z-buffer fighting in throwntogether mode 2011-12-28 18:15:47 +01:00
Marius Kintel e8b8c45bad Merge branch 'master' into color-priority 2011-12-28 18:06:32 +01:00
Marius Kintel c6004a5c27 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 18:05:14 +01:00
Marius Kintel 22072c1c21 Merge branch 'master' into color-priority 2011-12-28 17:57:27 +01:00
Marius Kintel 10d7df1760 Merge branch 'master' of github.com:openscad/openscad 2011-12-28 17:54:48 +01:00
Marius Kintel db7b829089 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 17:53:57 +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 e14a9e2d28 Merge branch 'master' into color-priority 2011-12-28 17:10:25 +01:00
Marius Kintel c1c54b3314 Updated expected files due to recently introduced bounding box changes 2011-12-28 13:35:54 +01:00
don bright 0ff0d2b68a regression tests: fix ncc==0 false-fails when using NCC image comparison 2011-12-27 21:17:04 -08:00
Marius Kintel 00a0ec6419 Updated expected files due to recently introduced bounding box changes 2011-12-27 16:04:16 +01:00
Marius Kintel bac92dbd0e Merge branch 'master' into color-priority 2011-12-27 14:46:10 +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
Marius Kintel 4f950c3538 Added test for hexagonal cylinder orientation, aka. captured nuts 2011-12-26 17:18:56 +01:00
don bright 1e57a14785 fix eigen2 finding bug 2011-12-26 17:03:04 +01:00
Marius Kintel e502fab71d Merge branch 'master' into color-priority
Conflicts:
	openscad.pro
2011-12-26 16:37:45 +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 85420b81b3 Added test case for nan occuring in exported STL files 2011-12-26 13:21:50 +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 c4bffdaf37 Color overriding now works. The outermost color will win if multiple colors are specified for the same object 2011-12-26 00:38:03 +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
Marius Kintel 1679a57240 Merge branch 'master' into buildfix 2011-12-25 17:44:06 +01:00
Marius Kintel 5db9bfc2ff Added test case for color override 2011-12-25 17:16:29 +01:00
Marius Kintel 312a25f270 Removed Qt dependency from parser_init() 2011-12-25 15:09:52 +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 9293b591c7 Ported currentdir handling from Qt to boost filesystem 2011-12-25 00:22:03 +01:00
Marius Kintel 0ab51d2d23 Extracted librarydir initialization to separate function 2011-12-24 22:02:37 +01:00
Marius Kintel dc4bc15925 Ported binary STL file reader away from Qt 2011-12-23 22:01:19 +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 cd3d816f93 fix for recently introduced bug: If no actual image was generated, we failed to output the expected image 2011-12-23 13:57:34 +01:00
Don Bright 62fdb2431f fix crash bug 2011-12-22 06:36:27 -06:00
Marius Kintel 9c4efafc6e Update test case: Since we're now pruning the normalized tree, subtracted objects which don't touch won't be visible in thrown together mode. Use debug operators in such cases 2011-12-22 04:16:38 +01:00
Marius Kintel d7ca192077 Removed old debug output 2011-12-22 04:09:52 +01:00
Marius Kintel 5b1556e6ca Updated expected file for surface(center=true) bugfix 2011-12-21 20:44:36 +01:00
Marius Kintel 95c952c5fa Updated expected file for new sphere evaluation 2011-12-21 20:44:19 +01:00
Marius Kintel 16f644872f Added 2D render() test 2011-12-21 18:03:58 +01:00
Marius Kintel 9113cf42d0 Handle missing expected files gracefully 2011-12-21 17:42:11 +01:00
Marius Kintel 0e59b194ab Expected files for surface-simple 2011-12-21 17:41:30 +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 1d2c59184c Changed the default value of to 2 to avoid breaking existing scripts which assume a certain default tesselation behavior 2011-12-19 16:55:01 +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 638743e220 remove unneeded debugging cout<< from cgalpngtest 2011-12-18 21:50:02 -06:00
Don Bright 58b793679a Merge remote branch 'upstream/master' 2011-12-18 12:46:56 -06:00
Don Bright d900ae9a84 fix bug in test_pretty_print, dont try to upload 0 byte files 2011-12-18 11:37:37 -06:00
Don Bright 696c174b91 make it so test_pretty_print by default only shows failed tests 2011-12-17 18:17:13 -06: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
Don Bright bb62bf4ad9 fix pretty print bug that was printing error message during ctest 2011-12-17 15:39:07 -06:00
Marius Kintel 320fe7d54d Killed warning 2011-12-17 17:58:32 +01: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
Don Bright e01b9a5666 fix div by zero bug in test_pretty_print 2011-12-12 19:57:39 -06:00
Marius Kintel 3f6a2f0fbb Improved sphere tesselation for low resolution spheres 2011-12-13 01:24:53 +01:00
Marius Kintel a020b54dc2 Don't run if TEST_GENERATE is set 2011-12-13 01:24:15 +01: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 832edd8c30 Merge pull request #38 from donbright/cakebaby
Cakebaby
2011-12-11 14:46:24 -08: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
don bright fcf172de50 modify test_pretty_print to allow showing of only failed tests 2011-12-09 11:31:18 -06:00
Marius Kintel cc4f6ac184 Machine/OS info for Mac 2011-12-07 22:20:24 +01:00
Marius Kintel e3bfaca222 killed a warning 2011-12-07 22:20:06 +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 b23c60d320 add notice about NDEBUG and CMakeCache.txt to fix cgalpngtest errors 2011-12-07 00:47:15 -06:00
don bright 9a665075c9 update FindBoost from cmake git. improve crash handling + boost finding 2011-12-06 22:36:33 -08:00
Don Bright 462a4f4f44 fix crash bug 2011-12-07 00:02:34 -06:00
Don Bright 20a3eaa097 tweak 2011-12-06 23:10:44 -06:00