Commit Graph

493 Commits (5d31f56d9313dcaa8f2304819b7d54ff9aaaf01a)

Author SHA1 Message Date
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
Don Bright 067ebee76a now uploads all images not just failed. 2011-12-06 23:00:45 -06:00
Don Bright c2d4f7558e fix html output of test results 2011-12-06 22:53:58 -06:00
Don Bright b8ca572338 tweak --upload of pretty print. cleanup 2011-12-06 22:31:59 -06: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 61bfb8f058 fix errors with flaky wiki sites. cleanup 2011-12-06 21:48:19 -06:00
don bright 32a3831ce9 alternate comparison for systems where imagemagick convert crashes 2011-12-06 19:15:04 -08:00
Don Bright 2c90eaa189 Merge remote branch 'upstream/master' into cakebaby
Conflicts:
	tests/CMakeLists.txt
	tests/csgtestcore.cc
2011-12-06 19:08:51 -06: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 bb0ec94290 #undef NDEBUG before including any CGAL headers 2011-12-06 01:43:44 +01:00
Marius Kintel 65a5aa23bf Refactoring: Use shared_ptr instead of our own shared pointer implementation for CSGTerm 2011-12-06 01:17:03 +01:00
Marius Kintel d392ee33f6 Commented out yee_compare 2011-12-06 01:17:03 +01:00
Don Bright d6ad921f5f Merge branch 'cakebaby' of github.com:donbright/openscad into cakebaby 2011-11-30 22:24:59 -06:00
Don Bright b1b46e8070 fix up testing, add opencsg version info 2011-11-30 22:24:14 -06:00
Don Bright 8e85f09b29 Merge remote branch 'upstream/master' into cakebaby 2011-11-30 18:46:46 -06:00
don bright 40815157a4 add 'finis' 2011-11-30 05:15:57 -06:00
Don Bright bcc6120f9b tweak pretty print 2011-11-29 20:57:44 -06:00
Don Bright 988a88a64f simplify test_pretty_print to work better with multiple page uploads 2011-11-29 20:41:28 -06:00
don bright e077b31865 enable uploading of build.make and flags.make files to wiki 2011-11-29 22:15:07 -06:00
Marius Kintel ad0f9f59c9 bugfix: Using the % modifier caused the cache to return an empty object even after removing the % 2011-11-29 00:18:43 +01:00
Marius Kintel 750bf565fc ignore *.dSYM 2011-11-29 00:16:28 +01: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
Marius Kintel 0fee2c5540 Killed some memory leaks 2011-11-27 05:20:18 +01:00
Don Bright 2376814f2c make opencsg use framebuffer not pbuffer 2011-11-26 21:35:53 -06:00
Marius Kintel 04c340b35d expected files for example tests 2011-11-27 02:47:58 +01:00
Marius Kintel a159135e97 Modified test to not cause z buffer fighting 2011-11-27 02:40:49 +01:00
Marius Kintel 46ce786edc Updated tests after recent deprecation fixes of examples 2011-11-26 23:39:49 +01: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 5b4632b040 Initialize CGAL error behaviour, remove duplicate debug output 2011-11-26 23:33:19 +01:00
Marius Kintel 1c1098f8b4 Minor debug output fixes 2011-11-26 23:32:50 +01:00
Don Bright 2454c85348 improve html output, logging 2011-11-26 13:43:40 -06: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 7678f0f083 Now uses Imagemagick convert for performing image tests 2011-11-26 02:25:28 +01:00
Marius Kintel 7996b8ed8d don't downsample so aggressively 2011-11-25 05:15:19 +01:00
Marius Kintel 70e0b93c1d Updated polygon test with double-specification of start vertex 2011-11-25 01:00:52 +01:00
Marius Kintel 3a5c43cc3c Another try for Windows test compatibility; no backslashes in filenames 2011-11-24 23:13:12 +01: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 c2fb5d3650 fix pretty printer 2011-11-23 22:40:06 -06:00
Don Bright 062244a3b1 fix pretty print sysid hash 2011-11-23 22:27:11 -06:00
Don Bright 6c4b5bd366 tweak patch, tweak pretty print 2011-11-23 22:22:33 -06:00
Don Bright 29783dc4aa patch for opencsg1.3.1 and add --forceupload option to pretty printer 2011-11-23 21:47:33 -06:00
Don Bright e4ceccec9e Merge branch 'cakebaby' of github.com:donbright/openscad into cakebaby 2011-11-23 19:31:44 -06:00
Don Bright 0db6e95e2d Merge remote branch 'upstream/master' into cakebaby 2011-11-23 19:26:34 -06:00
Marius Kintel e0b5f3f33d Output relative filenames in warnings for echotest to give similar results across machines 2011-11-23 16:55:03 +01:00
Marius Kintel 60d7e80c48 Modified escape-test to avoid issues with Windows drive letters 2011-11-23 16:49:09 +01:00
Marius Kintel 73092dd4c8 Added support for 3D object in the hull() module 2011-11-23 16:11:48 +01:00
don bright aa8d53614a fix stencil code for windows. tweak pretty printer for windows 2011-11-22 22:45:37 -06:00
Don Bright cea502f9a3 tweak and fix Stencilbuffer setup. 2011-11-22 20:31:57 -06:00
Don Bright 03442e3124 fixing GLX setup 2011-11-21 20:28:35 -06: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 e31bb0f603 make use FBO without stencil buffer 2011-11-16 21:42:08 -06:00
Don Bright 1aa73df3b8 improve info report. add auto-uploading ability for wiki data/images 2011-11-16 21:36:58 -06: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
Don Bright ab3a36e76b first version of 'cakebaby' regression testing display program 2011-11-09 00:46:39 -06:00
Marius Kintel acc0a21fe3 Ported QCache and related code away from Qt 2011-11-09 03:47:00 +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 5a97bff909 Bugfix: Attach a stencil buffer to the FBO, fixes some OpenCSG rendering bugs 2011-11-08 05:12:28 +01:00
Marius Kintel bddf02588c compile fix, forgot std:: namespace for debug build 2011-11-08 05:06:00 +01:00
Marius Kintel 53da8926c3 Modified render-tests to trigger an OpenCSG rendering bug 2011-11-08 03:32:33 +01:00
Marius Kintel 26187fa068 win32 fix: Output exponents the same way as for *nix 2011-11-07 05:36:41 +01:00
Marius Kintel 5e6cd31bed wops, wrong test name. fixes echotest_string-test error 2011-11-07 05:36:17 +01:00
Marius Kintel 578b68daa8 Updated broken test with correct output 2011-11-07 04:01:16 +01:00
Marius Kintel 7bec474b34 Added escape-test 2011-11-07 03:51:43 +01:00
Marius Kintel 6d72f26041 updated ignores 2011-11-07 03:51:32 +01:00
Marius Kintel 729912f3a8 updated ignores 2011-11-07 03:50:05 +01:00
Marius Kintel 6aaff8e2df Merge branch 'master' of github.com:openscad/openscad 2011-11-07 03:05:45 +01:00
Marius Kintel cd9aa0cbc2 Merge branch 'master' into tests-buildsystem
Conflicts:
	tests/CMakeLists.txt
2011-11-07 03:05:04 +01:00
Marius Kintel 027cd0c696 Use boost from deploy location for Mac 2011-11-07 03:02:57 +01:00
Marius Kintel d055200c95 Merge pull request #34 from donbright/master
fix GLX X11 bug, improve test CMakeLists
2011-11-06 17:54:43 -08:00
Marius Kintel ee5b6b882b Merge branch 'master' into tests-buildsystem 2011-11-07 02:48:57 +01:00
Marius Kintel a6e4b95f1a Disabled more tests triggering the float precision compare issue 2011-11-07 02:47:34 +01:00
Marius Kintel 3e2a0eb5dc Merge branch 'relative-filenames' 2011-11-07 02:44:20 +01:00
Marius Kintel 6b21134f15 Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:41:19 +01:00