Commit Graph

735 Commits (6fd378e9af2dab353764afc4bfad834bd14349b7)

Author SHA1 Message Date
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 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
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
Marius Kintel aa94d42d2c Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:37:44 +01:00
Marius Kintel e38928aa9b Updated test with new dumptest behavior for outputting relative filenames 2011-11-07 01:45:43 +01:00
Marius Kintel f107519cab Bugfix: evaluate read dump in the cwd of the original file 2011-11-07 01:44:33 +01:00
Marius Kintel ba5b0ffc4e Merge branch 'master' of https://github.com/openscad/openscad 2011-11-07 00:59:41 +01:00
Marius Kintel 0777597522 Temporarily disable tests causing floating point comparison errors across platforms 2011-11-07 00:59:25 +01:00
Marius Kintel 58502a2c34 Debug output: FBO bit depth info 2011-11-07 00:37:32 +01:00
Marius Kintel 75c9749589 compile fix in debug mode 2011-11-07 00:36:30 +01:00
Marius Kintel 5c502e51d4 dependency fix; order of linkage 2011-11-06 21:52:49 +01:00
Marius Kintel 04c77e1560 Ignore *.a 2011-11-06 21:54:48 +01:00
Marius Kintel d5e229702a Compile common sources into static libs to shorten compilation time 2011-11-06 21:54:17 +01:00
don bright b00edfdd22 fix one-line bug in cmake's findboost. 2011-11-06 20:39:13 +01:00
don bright 8baead275a Merge remote-tracking branch 'upstream/master' 2011-11-06 10:19:09 -08:00
Marius Kintel 6bb261bcd5 win32 fix: Output exponents the same way as for *nix 2011-11-06 18:38:16 +01:00
Marius Kintel 45161d4356 Slight refactoring of builtin function and module handling 2011-11-06 18:37:12 +01:00
Marius Kintel 970c6c1c6e ignores 2011-11-06 18:36:16 +01:00
Don Bright 31a97f34e1 Merge remote branch 'upstream/master' 2011-11-06 08:26:59 -06:00
Marius Kintel a221eeee99 Added expected files for new test, updated files for recently fixed issues 2011-11-06 04:25:55 +01:00
Marius Kintel 11f3cd3364 Added examples and features to dumptest 2011-11-06 04:24:27 +01:00
Marius Kintel 6d4b420855 Compare dump of readback with original dump, don't dump implicit root node 2011-11-06 04:02:45 +01:00
Marius Kintel efcbf8e1a2 Minor refactoring of test code 2011-11-05 19:38:03 +01:00
don bright 273672c418 Merge remote-tracking branch 'upstream/master' 2011-11-05 12:17:06 -06:00
Marius Kintel d14a24a2b6 copyright updates 2011-11-05 19:01:19 +01:00
Marius Kintel 14b806c9c0 Added builtin-tests 2011-11-05 17:06:13 +01:00
Marius Kintel 3cda438624 refactored away duplicate code 2011-11-05 17:05:30 +01:00
Marius Kintel 5ff79c6393 Added parser-tests 2011-11-05 16:21:47 +01:00
don bright 167975c4ff make minimum boost required 1.35.0 to match README 2011-11-05 05:50:30 +01:00
Don Bright 2b17825b5b add copyright notice for stuff copied from mesademos glxgears 2011-11-04 23:41:57 -05:00
don bright 651651c00a fix bug that caused glxXMakeContextCurrent to fail sometimes 2011-11-05 03:38:05 +01:00
don bright 81b4e9e5ab Merge branch 'master' of git@github.com:donbright/openscad 2011-11-05 01:28:28 +01:00
don bright 8c1b0c614a improve cmake reporting 2011-11-05 01:27:46 +01:00
don bright f90d2917e6 add BOOST_ROOT detection to test CMakeLists, for custom boost locations 2011-11-05 01:19:48 +01:00
Marius Kintel 2b49795442 Added example001 as an initial roundtrip test known to fail 2011-11-03 19:50:56 +01:00
Marius Kintel 7845bd0598 Also test roundtripping the dumped file 2011-11-03 19:50:10 +01:00
Marius Kintel c3f44b4953 Output relative files to current directory, not source file directory 2011-11-03 19:49:02 +01:00
Marius Kintel 5b0db2e793 Updated tests with latest toString() bugfix 2011-11-03 19:48:29 +01:00
Marius Kintel cb56f700b1 de-Qt'ified printutils 2011-10-31 23:56:35 +01:00
Marius Kintel 025eca84e7 Pass flag to QApplication to tell it we're a cmd-line tool 2011-10-31 23:53:53 +01:00
Marius Kintel a8ee02ebf5 Added test for rotation of open polyline 2011-10-30 13:49:28 +01:00
Marius Kintel 0c0b261e40 Increased threshold to 300 to avoid minor details from failing a test 2011-10-27 16:18:37 +02:00
Marius Kintel 16042907c3 Merge branch 'visitortests' of https://github.com/openscad/openscad into visitortests 2011-10-27 15:35:10 +02:00
Marius Kintel 6df123f80e Better GL error reporting 2011-10-27 15:31:12 +02:00
Marius Kintel 5c590dc26b Updated test case with recent linear_extrude improvement 2011-10-27 15:27:38 +02:00
Marius Kintel cb4986ec5d Merge branch 'master' into visitortests 2011-10-27 15:16:03 +02:00
Marius Kintel 7c606d36b0 Improved quality of linear_extrude with twist by forcing all quads to be tessellated the same direction 2011-10-27 15:15:04 +02:00
don bright 6b495672db remove experimental html output debug code. 2011-10-24 22:44:16 -05:00
don bright 82ff5a12ec fdef getopt.h for MSVC, cleanup makefile, ignore another msvc warning 2011-10-23 22:41:03 -05:00
don bright cbde518369 fix windows compile (glew.h / gl.h issue) 2011-10-23 20:19:07 -05:00
Marius Kintel 9718d88e50 bugfix: cmake version check was broken 2011-10-20 16:43:49 +02:00
User 98530546c9 fix freebsd build 2011-10-20 06:49:52 -05:00
don 6edeb13595 cleanup error report 2011-10-19 19:57:34 -05:00
don c7a809e0fd fix broken build 2011-10-19 19:37:00 -05:00
Don Bright 0356c77a2f Merge branch 'visitortests' of github.com:donbright/openscad into visitortests
Conflicts:
	tests/system-gl.cc
2011-10-19 17:34:11 -05:00
Don Bright 4799b7b555 always dump hex code of GL error 2011-10-19 17:30:19 -05:00
Don Bright 2325f621d8 Merge branch 'visitortests' of github.com:donbright/openscad into visitortests 2011-10-18 20:57:27 -05:00
Don Bright 40b1b4ac27 improve OpenGL error reporting. tracking down INVALID_ENUM bug 2011-10-18 20:55:42 -05:00
don b 1a1ab5b5ab improve freebsd build. also remove windows unicode preamble from .cc 2011-10-17 23:16:02 -05:00
Marius Kintel a5d5d21dfb Merge remote-tracking branch 'origin/visitortests' into visitortests 2011-10-16 23:13:42 +02:00
Marius Kintel f4ee7e90d8 Linux cmake fixes 2011-10-16 22:50:29 +02:00
Don Bright 4159e9dc5f Merge remote branch 'upstream/visitortests' into visitortests 2011-10-16 13:13:18 -05:00
Marius Kintel dea923c847 M_PI define for Windows 2011-10-16 18:54:18 +02:00
Don Bright c0592dc3b8 fix small bugs 1. error reporting 2. fbo teardown 2011-10-16 11:52:13 -05:00
Marius Kintel 1dcfd7627b Merge branch 'master' into visitortests
Conflicts:
	tests/CMakeLists.txt
	tests/echotest.cc
2011-10-16 18:10:22 +02:00
Marius Kintel 790c9a1925 Increase pixel diff threshold 2011-10-16 18:08:34 +02:00
Marius Kintel 24634b3ecc merged 2011-10-16 18:06:36 +02:00
Marius Kintel 006329bff0 Testing with different color space - should hopefully create more similar output images 2011-10-16 17:52:20 +02:00
Marius Kintel df7626a022 Modified to write to explicit filename 2011-10-16 17:50:55 +02:00
Marius Kintel 43839582e9 Merged 2011-10-16 17:50:33 +02:00
notroot adf7cd51fb clarify error messages. 2011-10-16 14:15:08 +00:00
Don Bright de53382a3d small cleanup 2011-10-15 20:22:06 -05:00
Don Bright 7332ec9fe2 clean up linux changes to fit with win32 changes. 2011-10-15 20:14:35 -05:00
don bright 7735f5510c opencsgtest and throwntogethertest windows fix 2011-10-15 23:44:21 -05:00
don bright e79ee82718 fix text tests for windows + enable framebuffer tests 2011-10-15 22:59:54 -05:00
don bright 786dc3de41 wgl window functions 2011-10-15 17:26:57 -05:00
don bright 684b9eceb7 fix bizarre win32 syntax error with eigen alignedbox 2011-10-15 16:44:52 -05:00
don bright 8e844bf76c Merge branch 'visitortests' of github.com:donbright/openscad into visitortests
Conflicts:
	tests/CMakeLists.txt
2011-10-15 15:53:30 -05:00
don bright 17ccbace5f improve documentation. move EIGEN_DONT_ALIGN to makefile. win32 build fixes. 2011-10-15 15:48:41 -05:00
notroot a9e4220796 fix win compile switch 2011-10-11 21:07:30 -04:00
don bright 55f4a6150f enable test_cmdline to work in Windows 2011-10-10 21:51:46 -05:00
don bright 31592577d3 enable building of opencsgtest, throwntogethertest, on WinXP 2011-10-10 21:46:27 -05:00
don bright a1c698f422 enable build of cgalpngtest under windowsXP 2011-10-10 18:01:51 -05:00
notroot 6251fc3268 +throwntogethertest expected images, made by Mesa software renderer in VMware 2011-10-10 13:40:37 +00:00
Don Bright fdae668899 Merge branch 'visitortests' of github.com:donbright/openscad into visitortests 2011-10-09 23:48:22 -05:00
Don Bright a010b7b747 reorder destruction of window to proper position 2011-10-09 23:47:42 -05:00
don bright 33da91d87d make yee_compare downsample images, reduce false-negatives and increase speed 2011-10-10 00:45:53 -04:00
Don Bright b2f193d631 more documentation and tab removal 2011-10-09 23:18:10 -05:00
Don Bright 67e3c307bb documentation 2011-10-09 22:34:24 -05:00
Don Bright 84b90972f4 fix glx initialization, better error handling, better portability 2011-10-09 22:29:12 -05:00
notroot b31e2713d2 improve error reporting, prevent running when FBO doesn't bind 2011-10-09 08:26:48 -04:00
Don Bright 589991c41e Linux offscreen OpenGL using glxpixmaps. also fix FBO ARB/EXT issues 2011-10-08 20:02:40 -05:00
Marius Kintel 25edffcff4 Added echotest and echo test cases 2011-10-08 14:53:47 +02:00
Marius Kintel 872fc64321 We don't need to use the EXT version of FBO calls 2011-10-06 01:51:54 +02:00
Marius Kintel 6395435db7 Clean up the fbo component, fix related issues 2011-10-04 23:24:32 +02:00
Marius Kintel 799ca1d1b3 Merge branch 'master' into visitortests
Conflicts:
	src/polyset.h
2011-10-04 21:06:40 +02:00
Marius Kintel 85948590ee Added euler angle rotate test 2011-10-04 03:40:54 +02:00
Marius Kintel afc0f1e949 Added euler angle rotate test 2011-10-04 03:32:08 +02:00
Marius Kintel ad3accb52a Compile fix: Added OPENSCAD_YEAR and OPENSCAD_MONTH defines 2011-10-04 03:04:00 +02:00
Marius Kintel 84e98b178a Cleaned up some unnecessary includes 2011-10-01 01:36:30 +02:00
Marius Kintel 2601d468e3 Added dxf test cases 2011-10-01 00:43:38 +02:00
Marius Kintel e5c242adb7 Moved transform-insert test from minimal to dxf 2011-09-30 19:03:10 +02:00
Marius Kintel 9259d57659 Merge branch 'master' into visitortests 2011-09-30 03:41:52 +02:00
Marius Kintel f3b3eaac68 Added polyhedron-tests 2011-09-30 03:25:42 +02:00
Marius Kintel e7001dd459 Reverted intersection with inside-out polyhedron - test belongs in the polyehdron test 2011-09-30 03:24:49 +02:00
Marius Kintel bf3fb9634c Renamed some files and classnames for clarification 2011-09-30 03:11:28 +02:00
Marius Kintel 2262afa92b Added test case for polyhedron intersection bug reported by Dan Zuras 2011-09-29 12:51:29 +02:00
Marius Kintel 8c94c31dd2 More refactoring of offscreen rendering 2011-09-29 04:05:59 +02:00
Marius Kintel 846970462a More refactoring of offscreen rendering 2011-09-29 04:05:47 +02:00
Marius Kintel c6e5e84eec Linux compile fixes 2011-09-29 02:35:24 +02:00
Marius Kintel f0772e73bd Refactored offscreen context a bit to get a better overview 2011-09-29 01:58:12 +02:00
Marius Kintel 2b3c140bd2 Merge branch 'master' into visitortests
Conflicts:
	tests/opencsgtest.cc
2011-09-29 01:57:52 +02:00
Marius Kintel 51155dc691 cosmetics 2011-09-28 22:33:51 +02:00
Marius Kintel dd45e625ed added expected file for highlight-and-background-modifier test 2011-09-28 22:33:36 +02:00
Marius Kintel d33eae21e2 added highlight-and-background-modifier and child-background tests 2011-09-28 22:32:35 +02:00
Marius Kintel fcb0145cb8 Added expected files for include-tests 2011-09-28 22:29:58 +02:00
Marius Kintel 6c3ce99347 Mac compile fix 2011-09-28 03:04:29 +02:00
Don Bright 917fb65415 test throwntogether 2011-09-27 16:58:03 -05:00
Don Bright 1f67e60eae fix crash 2011-09-27 16:53:39 -05:00
Don Bright c2fd035d02 forgot to commit csgtestcore 2011-09-27 16:47:50 -05:00
Don Bright a2e093c2f1 separate throwntogethertest and opencsgtest
create 'expected' images for throwntogethertest
create imgdiff_fail html file generation
2011-09-21 20:11:01 -05:00
Don Bright ccc88b0c43 get throwntogetherrenderer working in tests (initalize csgInfo to null) 2011-09-19 21:25:05 -05:00
Don Bright 24fa66ca38 copyright notice 2011-09-18 18:21:52 -05:00
Don Bright 0b219ae4b4 opencsg testing 2011-09-18 17:53:33 -05:00
Don Bright 6d70855a4d added png and image comparison, enabling testing on linux 2011-09-17 16:13:37 -05:00
Don Bright f5f06c8e97 merge
Merge remote branch 'upstream/visitor' into visitortests

Conflicts:
	src/export.cc
	src/openscad.cc
	src/polyset.cc
	src/transform.cc
	tests/CMakeLists.txt
	tests/FindGLEW.cmake
	tests/csgtermtest.cc
2011-09-12 17:40:51 -05:00
Don Bright 133a705fee merging
Merge remote branch 'upstream/master' into visitortests

Conflicts:
	src/cgaladv.cc
	src/export.cc
	src/openscad.cc
	src/polyset.cc
	src/transform.cc
2011-09-12 17:31:02 -05:00
Marius Kintel ccb6af2816 Don't output deprecated parameters if they're not specified 2011-09-12 03:46:13 +02:00
Marius Kintel 95949cf961 Implemented CGAL caching 2011-09-11 10:51:55 +02:00
Marius Kintel 18e97e0bd3 Fixed bug introduced by the new PolySet cache; string filtering done in the wrong place, refactored cache into separate class 2011-09-11 09:10:31 +02:00
Marius Kintel cbba974d3a Initial attempt of cleaning up polyset handling. PolySet no longer keeps a refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator 2011-09-09 05:53:05 +02:00
Marius Kintel a18dd3961d Added ifelse-tests 2011-09-08 08:52:31 +02:00
Marius Kintel 5ce3d4ff8d Added child-tests 2011-09-08 08:21:53 +02:00
Marius Kintel 297a6f61c6 Added include-tests 2011-09-08 02:31:47 +02:00
Marius Kintel 233521a11d Added assign-tests 2011-09-07 22:56:39 +02:00
Marius Kintel e9068e5adf Updated tests to reflect recently changed import behavior 2011-09-07 22:27:29 +02:00
Marius Kintel 27a99044d8 Implemented OFF import, refactored PolySet/Polyhedron conversion 2011-09-07 22:04:59 +02:00
Marius Kintel 75784844ea Implemented OFF export 2011-09-07 22:04:02 +02:00
Marius Kintel 226e36a75f Adapted to latest import() changes 2011-09-07 02:32:37 +02:00
Marius Kintel a4ba8d44a4 Modified test cases with new import() behavior 2011-09-07 01:12:53 +02:00
Marius Kintel a93e644980 Added hull tests 2011-09-06 22:01:42 +02:00
Marius Kintel 7d1ea6240d Added projection-tests 2011-09-06 20:36:45 +02:00
Marius Kintel 98b0c637a8 OpenCSG version of render-tests now also works 2011-09-06 18:32:32 +02:00
Marius Kintel 3b16fdafd2 added some debug output 2011-09-06 18:31:05 +02:00
Marius Kintel 15542c374d Added render-tests 2011-09-06 18:28:01 +02:00
Marius Kintel fdd96a177c Added minkowski and 2d-3d tests 2011-09-06 14:56:04 +02:00
Marius Kintel 23af865389 Added transform-tests 2011-09-05 18:20:43 +02:00
Marius Kintel 06001a4665 Added surface-tests 2011-09-05 18:00:20 +02:00
Marius Kintel ae24edb790 Added intersection_for-tests 2011-09-05 17:55:17 +02:00
Marius Kintel a63612e57b Added rotate_extrude-tests 2011-09-05 17:15:56 +02:00
Marius Kintel d5fefdf37c Added linear_extrude-tests 2011-09-05 17:03:39 +02:00
Marius Kintel 4a952c3cc0 bugfix: Forgot to enable PolySetCGALEvaluator 2011-09-05 17:02:37 +02:00
Marius Kintel ff75302002 Added for-nested-tests 2011-09-05 16:38:50 +02:00
Marius Kintel d6947ce5c7 Updated for-tests after discovering a few bugs 2011-09-05 16:37:07 +02:00
Marius Kintel b93c5c50ca Added for-tests 2011-09-05 00:04:12 +02:00
Marius Kintel 59b0d16488 bugfix: Don't try to export empty polyhedrons 2011-09-04 23:20:50 +02:00
Marius Kintel 723c6b7cf2 bugfix: root modifier now works with test apps 2011-09-04 18:53:09 +02:00
Marius Kintel bdd7c1f583 Added modifier tests. root modifier is still not working for cmd-line tools 2011-09-04 18:25:17 +02:00
Marius Kintel 2af8a70b71 Activated opencsgtest 2011-09-04 02:53:30 +02:00
Marius Kintel 3d204ad27b Filename case fix 2011-09-04 01:59:06 +02:00
Marius Kintel 821c7df1fe Extracted handle_dep() to separate source file 2011-09-04 00:03:16 +02:00