don bright
1f39090cc0
fix GLU issues caued by mesa split from glu. clarify test error msg
2013-01-31 20:16:28 -08:00
don bright
0c04641aa0
clarify code that enables 'sharing' of expected imgs between test progs
2013-02-01 02:01:31 +01:00
don bright
8776da0b68
cleanup
2013-01-31 05:42:19 +01:00
don bright
e184c014f0
tests:detect whether openscad gui binary has been built - fail if not
2013-01-31 05:36:12 +01:00
don bright
3b28d9a406
cleanup
2013-01-31 05:02:07 +01:00
don bright
e8a9df55cf
test guicgalpngtest against cgalpngtest images. cleanup debugging stuff
2013-01-31 05:00:22 +01:00
don bright
8ba6a78288
add correct test result images, and minor cleanup
2013-01-31 04:14:09 +01:00
don bright
997a0afac3
Merge branch 'master' and fix bugs
...
Conflicts:
src/openscad.cc
tests/CMakeLists.txt
2013-01-31 03:58:34 +01:00
don bright
d0de384a7e
translate shell script wrapper into C++ code, for portability
2013-01-31 03:42:33 +01:00
Marius Kintel
961dd79d9d
Use file(COPY) instead of configure_file(). Port to Mac
2013-01-29 21:04:41 -05:00
Marius Kintel
cd9ed9bc9e
Kill warning when running test in --info mode
2013-01-29 21:04:03 -05:00
Marius Kintel
3a9148a1aa
Make it work with the Mac app bundle binary
2013-01-29 21:03:11 -05:00
Marius Kintel
2ce2eef74a
Better message for setting test configuration
2013-01-29 21:02:13 -05:00
don bright
600893dd74
fix bug report in glew finder
2013-01-28 22:20:55 -06:00
Marius Kintel
c087605193
Support reading binary STLs which happen to start with the string 'solid'. Fixes #258
2013-01-28 17:58:36 -05:00
Marius Kintel
ce6813476d
Merge pull request #255 from openscad/issue159
...
Issue159
2013-01-28 09:05:36 -08:00
Marius Kintel
81264c1d26
Merge pull request #256 from openscad/glewfix
...
fix bugs and rewrite GLEW finding code to be more clear.
2013-01-28 09:02:46 -08:00
don bright
d6f2cc1a1e
if we are on linux/BSD and there's no X running, try Xvfb automatically.
...
also workaround some Gallium bugs and Imagemagick bugs
2013-01-28 06:38:50 +01:00
don bright
d09e0e7f42
fix pkg-config to actually work
2013-01-28 05:15:38 +01:00
don bright
1e64dddf1e
Merge branch 'master' of github.com:openscad/openscad into issue159
2013-01-27 20:42:20 -06:00
don bright
9f83c8ffe7
fix bugs and rewrite GLEW finding code to be more clear.
2013-01-27 20:06:08 +01:00
don bright
f17a282220
cleanups. and restore accidentally deleted old system-gl.h
2013-01-26 23:19:14 +01:00
don bright
6535b16a31
enable root-modifier (! character) on gui-cmdline output. reduce duplicate code.
2013-01-26 19:31:37 +01:00
don bright
6bac08c33a
add gui-cmdlind based output tests (for cgal)
2013-01-26 18:56:33 +01:00
don bright
391c725aeb
integrate gui cmdline into test framework
2013-01-26 18:55:47 +01:00
don bright
009baca904
move imageutils platform stuff to qmake build file mv system-gl. fix gcc warning
2013-01-24 04:10:24 +01:00
don bright
1bec7aad09
modify qmake buildfile, move offscreen rendering to main src directory
2013-01-24 04:01:34 +01:00
Marius Kintel
0e4e8b64a7
Test results for updated tests for issue #221
2013-01-17 11:43:17 -05:00
Marius Kintel
810f1a8618
Don't just ignore geometric nodes having zero volume/area - when doing difference/intersection, they tend to turn negative objects into positive ones. Fixes #221
2013-01-08 13:26:25 -05:00
don bright
5c779159c2
new test results (degenerate polygons produce output)
2013-01-08 05:06:26 +01:00
Marius Kintel
101510c5cb
Merge pull request #235 from openscad/mxebuild_fix
...
Mxebuild fix
2013-01-05 14:57:08 -08:00
Marius Kintel
bc7ff5aa8d
Ignore dimension when evaluating control modules mixed with geometry children. Fixes #229
2012-12-27 17:30:13 +01:00
don bright
0778a55a40
actually assign copyright to Marius + Clifford, to eliminate any
...
problems with Debian.
2012-12-03 08:59:57 +01:00
don bright
f54797cfbd
fixes for test suite and gcc
2012-10-28 20:22:04 +01:00
Marius Kintel
65fc1d6b01
Detect recursive execution of functions to avoid a stack overflow crash. Fixes #200
2012-10-09 23:32:56 -04:00
Marius Kintel
0cea83a35d
Fixed weakness in parser causing modifier characters not to work in front of 'if' statements. Fixes #197
2012-10-07 15:24:08 -04:00
Marius Kintel
a629560cee
Merge pull request #186 from openscad/issue185
...
Issue185
2012-08-21 17:31:28 -07:00
don bright
6a8254f849
add images for tests
2012-08-21 02:47:45 +02:00
don bright
358129cad6
improve test scad. don't use dumptest(), 'nan' is a bit of a problem
2012-08-21 02:39:18 +02:00
Marius Kintel
1e56bf65b9
Merge commit '765f1a98dc124e1913b53ea8467908b8b8bda032'
2012-08-20 19:49:00 -04:00
don bright
a5da9c899b
improve test scad
2012-08-21 01:40:06 +02:00
Marius Kintel
b5cc07098b
collect library dependencies a bit to reduce duplication
2012-08-20 19:15:14 -04:00
Marius Kintel
0170923b9b
Enable running the test suite on a Mac VM
2012-08-20 10:00:44 -04:00
Marius Kintel
63882721d7
Added support for Mac OS X Lion
2012-08-20 08:56:29 -04:00
don bright
765f1a98dc
cleanup
2012-08-19 08:29:22 -05:00
don bright
fc945bfdc4
fix small bugs in eigen build scripts
2012-08-19 08:27:49 -05:00
don bright
5d31f56d93
look for EIGENDIR env var. (also look for EIGEN2DIR for backwards compatability)
2012-08-19 08:10:33 -05:00
don bright
a9045315ba
rewrite Eigen detection in CMakelists. cleanup files for pull request.
2012-08-19 07:58:30 -05:00
don bright
702525f69c
cleanup for pull request
2012-08-19 07:31:23 -05:00
don bright
d656f556b8
debugging failed test: throwntogethertest polygons
2012-08-18 23:02:39 -05:00
don bright
aa2c67d249
make EIGEN_DONT_ALIGN flag work. also remove warnings when using clang.
2012-08-18 21:35:12 -05:00
don bright
c4d68588a6
modify build system to auto-detect eigen3, and fallback to eigen2
2012-08-19 00:14:17 +02:00
don bright
10c7607541
more eigen3 fixes.
...
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'.
2. initial version of changes to CMakelists.txt for the regression test
2012-08-18 22:44:46 +02:00
don bright
fddad68a73
give Kintel and Wolf permission to alter the license
2012-08-03 20:11:13 -05:00
don bright
4f7bf1819f
add test for proper rounding of decimals in echo()
2012-07-26 20:49:58 -05:00
Marius Kintel
2495df6bab
Add timestamp to cache key for modules importing files. Fixes #141
2012-07-14 21:57:41 -04:00
Marius Kintel
694382bba9
Merge branch 'master' into value
...
Conflicts:
src/parsersettings.cc
2012-07-05 09:41:15 -04:00
Marius Kintel
54067c635d
Fixed normalization bug: node limit wasn't checked properly and some cases triggered exponential expansion of nodes during normalization. Fixes #127
2012-07-01 02:08:45 +02:00
Marius Kintel
22c5f37424
Search for libraries from a list of paths. Preparations for issue #125
2012-06-24 16:29:28 +02:00
Marius Kintel
8e8f090fa4
cosmetics
2012-06-23 23:05:06 +02:00
Marius Kintel
197a4e4d36
Merge branch 'master' into value
2012-06-04 11:34:27 +02:00
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
Don Bright
45c86b5a5a
add extra shapes for testing 'holes' in cut projections. new test images.
2012-05-28 12:24:48 -05:00
Marius Kintel
bd714c75a8
Ported away from Qt
2012-05-02 12:07:56 -04:00
Marius Kintel
60ea4baa2c
Removed unused include
2012-05-02 12:06:45 -04:00
Marius Kintel
1adc8aa531
Catch and report common top-level issues
2012-04-03 12:51:39 +02:00
Marius Kintel
8766b955ec
Updated matrix and vector multiplication tests
2012-03-31 23:22:33 +02:00
Marius Kintel
99cec78159
Revert "expected file for updated projection-tests"
...
This reverts commit 3cd36f972e
.
2012-03-27 23:40:55 +02:00
Marius Kintel
b38310a837
bugfix: Support passing files without an explicit parent directory
2012-03-20 12:05:18 +01:00
Don Bright
e88ec1a616
require GLEW 1.6 per bug rpt from 42loop
2012-03-01 17:17:30 -06:00
Marius Kintel
c5703b4407
bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox
2012-02-19 13:09:02 +01:00
Andrew Plumb
d3528779bb
Added dumptest_example023 to disable_tests()
2012-02-18 23:20:28 -05:00
Andrew Plumb
de1deb113f
Added better example023 with test output.
2012-02-18 21:22:31 -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
32a408f594
Test using search() and MCAD/fonts.scad
...
A more comprehensive test that exercises the search function and
MCAD/fonts.scad approach to text rendering together.
2012-02-15 00:10:36 -05: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
3cd36f972e
expected file for updated projection-tests
2012-02-15 01:32:37 +01:00
Marius Kintel
b9d218e137
Initial implementation of ModuleCache and dependency tracking of used modules
2012-02-15 01:32:37 +01:00
Marius Kintel
cf3102f4fb
expected file for updated projection-tests
2012-02-04 02:51:00 +01:00
Marius Kintel
1ce1b88249
bugfix: Nested use and included of files inside libraries was broken. Fixes #78
2012-02-02 23:11:54 +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
5056de8d1c
bugfix: scad files without a newline as the last character could leave a commented out line open, shadowing command-line parameters. Fixes #76
2012-01-31 22:00:00 +01:00
Marius Kintel
e541df8bb5
Added test case for recently fixed csg normalization bugfix
2012-01-29 19:02:19 +01:00
Marius Kintel
3c3bb91520
Bugfix for tests: Empty tree after normalization
2012-01-29 19:01:15 +01:00
Marius Kintel
ed02aa85ef
The tests no longer depend on QtGui or QtOpenGL
2012-01-25 21:12:50 +01:00
Marius Kintel
8061a36dd1
Use QCoreApplication - reduce Qt dependency
2012-01-25 21:07:53 +01:00
Marius Kintel
eff1f7f8c9
Ported printutils away from Qt
2012-01-25 03:11:12 +01:00
Marius Kintel
16c05eb533
Temporarily removed progress output from file exporting to remove Qt dependency. When reinstating this, use another mechanism
2012-01-25 02:59:02 +01:00
Marius Kintel
d3fc11b7db
compile fix for recent change of the normalize() method
2012-01-24 23:10:58 +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
5044ea928d
typo: ouput->output
2012-01-09 03:20:27 +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
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