Commit Graph

493 Commits (5d31f56d9313dcaa8f2304819b7d54ff9aaaf01a)

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