Marius Kintel
8635e94166
Updated tests after fixing #678
2014-03-02 23:31:36 -05:00
Marius Kintel
ab6192e465
Merge branch 'master' into unstable
...
Conflicts:
src/openscad.cc
src/printutils.h
2014-03-02 22:41:05 -05:00
Marius Kintel
e1623ab3e0
Merge branch 'master' into unstable
2014-02-23 15:49:50 -05:00
Marius Kintel
bab951b344
Merge branch 'master' into unstable
...
Conflicts:
src/CGALEvaluator.cc
src/MainWindow.h
src/MainWindow.ui
src/import.cc
src/mainwin.cc
src/winconsole.c
tests/CMakeLists.txt
2014-02-23 15:49:26 -05:00
Marius Kintel
3ac8895d7a
Enable experimental features only for snapshot builds
2014-02-23 15:47:26 -05:00
Marius Kintel
e9ace30cca
Print error message if upload fails
2014-02-22 20:00:29 -05:00
Marius Kintel
3e6f659990
Added failing test for #666
2014-02-20 01:04:04 -05:00
Don Bright
ccc782e39c
fix failing tests per comments on github, make slightly more robust
2014-02-19 05:26:19 -06:00
Don Bright
7b7a76a364
Merge branch 'master' of github.com:openscad/openscad into issue235
2014-02-17 20:34:53 -06:00
Marius Kintel
36cd62db80
Simple test of -D cmd-line parameter
2014-02-17 21:04:37 -05:00
Marius Kintel
09e2f1116f
mac build fix: correctly link Cocoa to core libraries
2014-02-17 21:00:32 -05:00
Don Bright
6326aab677
fix issue #235
2014-02-17 14:19:12 -06:00
Torsten Paul
12b115e4b0
Add cross() function to calculate vector cross product.
2014-02-16 23:04:48 +01:00
Torsten Paul
990e2a472b
Add test cases for norm().
2014-02-16 22:47:55 +01:00
Marius Kintel
57ac24013e
Added testcase for #112
2014-02-11 01:04:49 -05:00
Marius Kintel
716d8a7ab3
Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object
2014-02-06 00:50:00 -05:00
Marius Kintel
92017ded7a
Merge pull request #637 from OskarLinde/projection_bug
...
Projection bug
2014-02-05 23:42:31 -05:00
Oskar Linde
013d2722da
Test: verify winding order of holes with projection(cut=true)
2014-02-05 14:08:22 +01:00
Marius Kintel
cf1fa4b57b
Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object
2014-02-04 23:49:10 -05:00
Torsten Paul
6c84515275
Add positional parameters for text().
...
Positional parameters are t, size, font.
Example: text("OpenSCAD", 30, "Liberation Mono");
2014-02-04 19:10:16 +01:00
Marius Kintel
17dc062904
csgtermtest output has changed after refactoring
2014-02-03 23:33:14 -05:00
Marius Kintel
360622109a
We changed how we interpret intersections in dxf. This is a marginal use-case, so we dropped backwards compatibility
2014-02-03 23:10:29 -05:00
Marius Kintel
85fae69ca6
Pass --enable=text to text tests
2014-02-02 19:49:45 -05:00
Torsten Paul
1c2cb2dde9
Move main text test cases to the heavy set and introduce a simple test.
2014-02-02 18:01:08 -05:00
Torsten Paul
dc16918beb
Force pkg-config to look in the local library folder.
...
Setting both PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR should
force pkg-config to ignore system installed libraries. We
only want it to find locally compiled dependencies if the
variable OPENSCAD_LIBRARIES is set.
2014-02-02 18:00:45 -05:00
Torsten Paul
afca09729a
Add test cases for text alignment and text direction.
2014-02-02 18:00:45 -05:00
Torsten Paul
a994d4b750
Add first set of test cases for text().
2014-02-02 18:00:44 -05:00
Torsten Paul
bb45e7e52a
Add implementation of text() module.
2014-02-02 18:00:44 -05:00
Marius Kintel
cf7c24232e
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-02 01:01:20 -05:00
Marius Kintel
c59fa49693
Merge pull request #611 from OskarLinde/minkowski2_bug
...
Minkowski2 bug
2014-02-01 18:48:54 -08:00
Marius Kintel
56a2d0fff6
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 17:55:17 -05:00
Marius Kintel
072c3a3059
Simplified and renamed test related to #612
2014-02-01 17:53:47 -05:00
Marius Kintel
fa398e1501
Merge branch 'master' into unstable
2014-02-01 14:14:02 -05:00
Oskar Linde
37aa801c46
Add some additional minkowski2d test cases
2014-02-01 16:17:56 +01:00
Oskar Linde
9a66954003
Add a testcase for a bug with self-intersecting polygon outline
2014-02-01 16:14:59 +01:00
Marius Kintel
0d1e978baa
Merge branch 'unstable' into nullgl
2014-02-01 00:35:29 -05:00
Don Bright
0308a2c896
build on system without OpenGL. do cmake .. -DNULLGL=1
2014-01-30 18:21:32 -06:00
Marius Kintel
0600d80046
Moved special handling of intersection to ClipperUtils
2014-01-27 23:25:33 -05:00
Oskar Linde
b05eb736a0
Regression test for 2D intersection() operation
2014-01-27 16:21:44 +01:00
Tim V. Shaporev
b3a946bd92
fixup issue 593
2014-01-25 18:43:33 +04:00
Marius Kintel
33ab1fd9e4
Merge branch 'master' into unstable
...
Conflicts:
tests/regression/throwntogethertest/difference-tests-expected.png
2014-01-24 18:18:20 -05:00
Torsten Paul
1212e2ba7c
Handle NaN / +Inf / -Inf in range evaluation ( fixes #606 ).
2014-01-24 20:52:04 +01:00
Marius Kintel
9d55e33b36
Updated forgotten test results related to commit 34ae2b8f68
2014-01-24 13:12:27 -05:00
Marius Kintel
faf1e2a3a5
bugfix: 2D minkowski was slightly broken; only one child and >2 children didn't work correctly
2014-01-19 12:27:11 -05:00
Marius Kintel
8a5c8e35ce
Merge branch 'master' into issue527
2014-01-19 12:18:32 -05:00
Marius Kintel
556040439e
Added test of minkowski2 with >2 children
2014-01-19 12:18:09 -05:00
Marius Kintel
59fca2674a
Merge branch 'master' into issue527
...
Conflicts:
tests/regression/cgalpngtest/minkowski2-tests-expected.png
tests/regression/opencsgtest/minkowski2-tests-expected.png
tests/regression/throwntogethertest/minkowski2-tests-expected.png
2014-01-18 18:31:06 -05:00
Marius Kintel
87231f3134
Added tests for minkowski with only one child
2014-01-18 18:29:35 -05:00
Marius Kintel
696f2d5182
Adjusted some Heavy tests
2014-01-15 23:53:23 -05:00
Marius Kintel
e7b62b4088
Merge branch 'master' into issue527
...
Conflicts:
src/CGALEvaluator.cc
2014-01-15 22:34:49 -05:00
Marius Kintel
bf0d9edf38
Change behavior of intersection: intersecting something with an empty object will be empty
2014-01-15 22:23:50 -05:00
Marius Kintel
5c57ed41e7
Added test for empty geometry
2014-01-15 19:24:38 -05:00
Marius Kintel
0f2853895a
Merge branch 'master' into issue527
2014-01-13 23:08:56 -05:00
Marius Kintel
7af6922829
Updated tests to account for modifiers inside AbstractPolyNodes
2014-01-13 23:07:56 -05:00
Marius Kintel
0ea3c831dd
Merge branch 'issue527' of github.com:openscad/openscad into issue527
2014-01-13 22:24:21 -05:00
Marius Kintel
c2673d4ff0
Updated tests for minkowski2 with holes
2014-01-13 22:24:13 -05:00
Marius Kintel
c680540ea2
Merge branch 'master' into issue527
...
Conflicts:
src/primitives.cc
2014-01-13 21:34:51 -05:00
Marius Kintel
34ae2b8f68
Testcase and fix for a problem transforming an empty bbox with very small numbers in a transformation matrix
2014-01-13 20:57:49 -05:00
Marius Kintel
23b04c3a9f
bugfix: division by zero can cause malformed primitives
2014-01-13 20:49:55 -05:00
Marius Kintel
fc8096acac
Merge branch 'issue527' of github.com:openscad/openscad into issue527
...
Conflicts:
src/GeometryEvaluator.cc
tests/CMakeLists.txt
2014-01-12 19:41:34 -05:00
Marius Kintel
e0e0319ec6
Added and updated tests for minkowski2 with holes
2014-01-12 19:39:20 -05:00
Marius Kintel
f57ceae58d
Removed old reference to clipper
2014-01-09 02:06:38 -05:00
Marius Kintel
acace4606b
hull-of-hull bug: bugxi and test for exposing it
2014-01-09 02:06:38 -05:00
Marius Kintel
4fd13fcac2
adjusted test results
2014-01-09 02:06:38 -05:00
Marius Kintel
03036b91f8
Updated import_stl-tests: Added subtraction from not found file
2014-01-09 02:06:37 -05:00
Marius Kintel
24986eec91
Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues
2014-01-09 02:06:37 -05:00
Marius Kintel
029cc74898
Updated test result with new behavior
2014-01-09 02:06:37 -05:00
Marius Kintel
512c0153dd
Updated test result with new behavior
2014-01-09 02:06:37 -05:00
Marius Kintel
394cb6a7a5
test data update
2014-01-09 02:06:37 -05:00
Marius Kintel
5b1ae5cbb1
test data update
2014-01-09 02:06:36 -05:00
Marius Kintel
5c4534d3fc
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
054277b3ac
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
3122050139
Updated test result with new behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
e35ea1bcb0
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
bff5b4d666
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
54850b3bd0
Updated test result with new, improved behavior
2014-01-09 02:06:36 -05:00
Marius Kintel
ace3668736
Cleanup: Removed redundant code
2014-01-09 02:06:35 -05:00
Marius Kintel
dc9429acac
Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render
2014-01-09 02:06:35 -05:00
Marius Kintel
669c30be6a
Implemented resize
2014-01-09 02:06:35 -05:00
Marius Kintel
a1fcf2d5b2
Updated test results with new behavior
2014-01-09 02:06:34 -05:00
Marius Kintel
b5abd6a39f
Fixes remaining issues after merging #574
2014-01-09 02:06:34 -05:00
Marius Kintel
1ef92f55f2
Clipper is bundled
2014-01-09 02:06:34 -05:00
Marius Kintel
1f488f851d
Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils
2014-01-09 02:06:34 -05:00
Marius Kintel
12f14b84a1
ignore openscad_nogui
2014-01-09 02:06:34 -05:00
Marius Kintel
af59b1983c
Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6
2014-01-09 02:06:33 -05:00
Marius Kintel
eeb23d6723
corrected test results
2014-01-09 02:06:33 -05:00
Marius Kintel
dc93436da9
Compile fixes
2014-01-09 02:06:32 -05:00
Marius Kintel
d9ad3a60a0
Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues
2014-01-09 02:06:32 -05:00
Marius Kintel
b8c15cfb8a
Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives.
2014-01-09 02:06:32 -05:00
Marius Kintel
acd08b6f1a
Green refactoring, but uncertain if we should keep it
2014-01-09 02:06:32 -05:00
Marius Kintel
20938506b6
Mac fix: We need to use bundled resources when running bundled apps in cmd-line node
2014-01-07 15:44:28 -05:00
Marius Kintel
f7a633c57f
Added some missing ignores
2014-01-07 15:43:15 -05:00
Marius Kintel
aabb2f405f
Fixes to build against homebrew-built dependencies
...
Conflicts:
tests/CMakeLists.txt
2014-01-07 13:48:58 -05:00
Marius Kintel
b598b1ad01
hull-of-hull bug: bugxi and test for exposing it
2014-01-06 17:48:09 -05:00
Marius Kintel
c39b919e19
Fixes to build against homebrew-built dependencies
2014-01-06 17:48:09 -05:00
Marius Kintel
31612ef242
adjusted test results
2014-01-06 17:48:09 -05:00
Marius Kintel
b11429b1d2
Updated import_stl-tests: Added subtraction from not found file
2014-01-06 17:48:08 -05:00
Marius Kintel
b5928655e3
Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues
2014-01-06 17:48:08 -05:00
Marius Kintel
211e3bc66d
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
9f6635a5f2
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
9ccde5fe22
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
e49bccfa83
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
1c8221004a
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
ebdb2847b3
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
0ce14af64b
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
8b7ef88664
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
7ed97132c6
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
3d72b2b68f
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
a8ed295b22
Cleanup: Removed redundant code
2014-01-06 17:48:06 -05:00
Marius Kintel
7efac3940e
Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render
2014-01-06 17:48:06 -05:00
Marius Kintel
2726a6853f
Implemented resize
2014-01-06 17:48:06 -05:00
Marius Kintel
575d429824
Updated test results with new behavior
2014-01-06 17:48:06 -05:00
Marius Kintel
a49c32bee0
Fixes remaining issues after merging #574
2014-01-06 17:48:06 -05:00
Marius Kintel
8367068be5
Clipper is bundled
2014-01-06 17:48:05 -05:00
Marius Kintel
6298ccd188
Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils
2014-01-06 17:48:05 -05:00
Marius Kintel
28a6e64a97
ignore openscad_nogui
2014-01-06 17:48:05 -05:00
Marius Kintel
377c8adde4
Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6
2014-01-06 17:48:05 -05:00
Marius Kintel
528be86990
corrected test results
2014-01-06 17:48:05 -05:00
Marius Kintel
e3b53f6550
Compile fixes
2014-01-06 17:48:04 -05:00
Marius Kintel
1a65f0ba48
Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues
2014-01-06 17:48:04 -05:00
Marius Kintel
db7ba5b204
Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives.
2014-01-06 17:48:03 -05:00
Marius Kintel
688a61dfec
Green refactoring, but uncertain if we should keep it
2014-01-06 17:48:03 -05:00
Marius Kintel
28fb4dc4cb
Added testcase for #593
2014-01-05 23:21:49 -05:00
Marius Kintel
0899abeb90
Added testcase for #591
2014-01-05 12:44:53 -05:00
Marius Kintel
064247ae5e
Merge branch 'master' of github.com:openscad/openscad
2014-01-03 13:58:13 -05:00
Marius Kintel
8dca991045
Removed obsolete test
2014-01-03 13:31:37 -05:00
Marius Kintel
bee5233a91
Merge branch 'vector-concat' of git://github.com/t-paul/openscad into t-paul-vector-concat
...
Conflicts:
src/Preferences.ui
2014-01-03 13:17:58 -05:00
Marius Kintel
3d5b844679
Keep cmd-line and GUI separate in terms of preferences, handle experimental tests separately, minor cleanups
2014-01-03 02:31:57 -05:00
Marius Kintel
bda8e6b55b
Added another testcase for #495
2014-01-02 20:57:53 -05:00
Marius Kintel
0044ecde20
Added testcase for #495
2014-01-02 17:07:34 -05:00
Marius Kintel
46a9af8594
Added testcase for #585
2013-12-31 01:20:15 -05:00
Marius Kintel
38b8e6961e
Clarified test cases for #541 and #578
2013-12-30 01:48:46 -05:00
Marius Kintel
69d9dfd29b
Renamed test belonging to #578 , not #541
2013-12-30 01:40:50 -05:00
Marius Kintel
d5bf74c91c
Added testcase for #584
2013-12-30 01:23:14 -05:00
Marius Kintel
182625c5de
Added testcase for #578
2013-12-29 21:17:20 -05:00
Marius Kintel
101d6343c0
Added testcase for #582
2013-12-29 20:16:54 -05:00
Marius Kintel
b47ec73e72
Renamed to issue541
2013-12-29 20:00:40 -05:00
Marius Kintel
9ea82e746c
Added failing test for issue 541
2013-12-29 18:28:06 -05:00
Marius Kintel
b272d1f0de
Added mixed 2D and 3D object for difference tests
2013-12-28 17:11:56 -05:00
Marius Kintel
ce8bf70604
Added 2D difference tests
2013-12-28 16:41:28 -05:00
Marius Kintel
cc3858949e
Updated tests
2013-12-28 14:27:21 -05:00
Torsten Paul
b49f51dab3
Moved get_fragments_from_r into Calc
2013-12-27 17:48:15 -05:00
Marius Kintel
68de0ab680
Updated tests
2013-12-26 18:31:38 -05:00
Marius Kintel
8c02f17bb3
Updated tests
2013-12-26 18:09:19 -05:00
Torsten Paul
6443df394b
Add concat() builtin ( fixes #201 ).
...
This allows to concatenate multiple vectors and single elements into a
single result vector.
2013-12-26 20:02:31 +01:00
Marius Kintel
e64bf96b37
Added mesh test
2013-12-15 20:15:01 -05:00
Marius Kintel
4be55c016e
Merge branch 'master' of github.com:openscad/openscad
2013-12-15 18:25:22 -05:00
Marius Kintel
111d8f416a
Added FIXME
2013-12-15 18:24:17 -05:00
Marius Kintel
446dc3d36d
Improved non-planar tests
2013-12-15 18:19:05 -05:00
Don Bright
7a35d0c10d
merging tests
2013-12-15 16:08:46 -06:00
Don Bright
3b3ef44f66
Merge branch 'master' of github.com:openscad/openscad into planar
...
Conflicts:
src/CGAL_Nef_polyhedron.cc
tests/CMakeLists.txt
2013-12-15 15:32:06 -06:00
Marius Kintel
c7cea0082e
Added testcase for concave polygons in polyhedrons
2013-12-15 15:02:32 -05:00
Don Bright
6d0efd62d9
improve CGAL nonplanar face error detection. also change dumptests to 'faces'
...
keyword for 'polyhedrnon().
2013-12-15 07:47:01 -06:00
Don Bright
f12237a9c4
add tests for non-planar bug. add docs to .cc code
2013-12-14 21:58:22 -06:00
Marius Kintel
0eaa5333db
Put back printing path to test report
2013-12-14 17:57:28 -05:00
Marius Kintel
cca80a1559
bugfix: #562 didn't take into account that it's allowed with all X coordinates being negative
2013-12-14 17:44:05 -05:00
Marius Kintel
6987ac9279
Merge pull request #561 from brodykenrick/master
...
Unicode support for search, length and STRING[] accesses (+ a fix for 3rd Party CGAL lib issue on Ubunti)
2013-12-10 23:50:52 -08:00
Marius Kintel
d14f0be01c
minor fix: Only use UPLOADARG if it exists
2013-12-11 02:01:50 -05:00
Brody Kenrick
4552d2d263
Add back in GL and GLIB2 links for tests-core
2013-12-11 17:59:38 +11:00
Brody Kenrick
745664f126
Ctests build for Glib2 - Add GLIB2_LIBDIR to find_library paths
2013-12-11 17:06:27 +11:00
Marius Kintel
7cb3ea77ff
Build glib2 and gettext on Mac, Find macro for glib2
2013-12-10 23:08:04 -05:00
Marius Kintel
6fd378e9af
Set upload env. variable in travis env since the cmake version on Travis is too old
2013-12-09 00:24:55 -05:00
Marius Kintel
a407e4bf29
Enable upload of test results ( #525 )
2013-12-08 23:13:28 -05:00
Marius Kintel
33c34b6f7c
Merge pull request #566 from a-e-m/master
...
Fix for issue 525
2013-12-08 17:12:28 -08:00
a-e-m
58bf7386a1
Added --upload command line option
2013-12-08 16:32:36 -08:00
a-e-m
b7c818bf00
Revert to uploading to dinkypage, gists won't work
2013-12-08 16:15:50 -08:00
Brody Kenrick
d46ce3fb81
Add specific tests for unicode len()
2013-12-08 18:35:36 -05:00
Brody Kenrick
c0849eb1d3
Update comments/messages for CGAL source of bad boost libraries
...
Add comments and change to a status instead of a warning (as we recover
nicely and it is a known issue in CGAL @
https://bugs.launchpad.net/ubuntu/+source/cgal/+bug/1242111 )
2013-12-08 18:35:35 -05:00
Brody Kenrick
3abf64249f
Unicode support for strings
...
Add suport for using unicode strings in .scad files. Support iterating
across them/accessing them via [] and searching.
--------
Add GLIB (to build for test and normal build -- both with installed and
built locally development files).
Add support for unicode chars to length and search builtin functions and
[] for strings.
Added unicode testing functions.
Ad GLIB to library info page.
2013-12-08 18:35:35 -05:00
Brody Kenrick
7075d8d9c4
Fix for bad boost libraries
...
Get this error because of a search for a non-existent library on linux64
-----------
[ 69%] Built target tests-cgal
Scanning dependencies of target cgalcachetest
[ 70%] Building CXX object
CMakeFiles/cgalcachetest.dir/cgalcachetest.cc.o
make[2]: *** No rule to make target `/usr/lib/libboost_thread.so',
needed by `cgalcachetest'. Stop.
make[1]: *** [CMakeFiles/cgalcachetest.dir/all] Error 2
make: *** [all] Error 2
[2]+ Done gedit openscad.pro (wd:
~/git/openscad_unicode)
----------
2013-12-08 18:35:35 -05:00
a-e-m
d6bffc4691
Taking out test accidentially left in, my user token
2013-12-08 12:17:19 -08:00
a-e-m
e27f971d9c
Changed upload code to use gists
2013-12-08 12:15:04 -08:00
a-e-m
a22ebd608d
Moved include_passed
2013-12-08 11:28:19 -08:00
a-e-m
8971c67fa2
Fixed variable name error
2013-12-08 11:18:58 -08:00
a-e-m
cb2b094b26
Fixed small error in Templates.get
2013-12-08 10:51:25 -08:00
Marius Kintel
b131464f95
#559 CMAKE_OSX_DEPLOYMENT_TARGET needs to be cached
2013-12-08 13:50:03 -05:00
a-e-m
8a21092dc0
Adding imports
2013-12-07 17:59:07 -08:00
a-e-m
8d3365a79a
Update design philosopy comments
2013-12-07 14:50:49 -08:00
a-e-m
40ae8c7b34
Add html report upload to test_pretty_print.py, removed wiki support
2013-12-07 14:38:22 -08:00
Marius Kintel
38a3422159
#559 fixes for 10.9
2013-12-06 00:39:21 -05:00
Don Bright
75692592e4
Merge branch 'master' into issue410x
2013-11-30 15:30:40 -06:00
Don Bright
fd715c6526
finish adding new test, add png for new test
2013-11-26 20:55:26 -06:00
Don Bright
faf008ce24
simplify nef polyhedron code. attempt to add test for bug
2013-11-26 20:29:29 -06:00
Marius Kintel
de2db22b5f
Split projection tests into cut vs. project
2013-11-25 00:27:15 -05:00
Marius Kintel
91c2b8909c
Added test for implicit union of render() children
2013-11-23 22:10:05 -05:00
Marius Kintel
7b526bc27a
Added test for polygon with hole
2013-11-23 20:00:19 -05:00
Marius Kintel
2162aaed64
Split up projection tests to avoid long running times
2013-11-20 01:27:46 -05:00
Marius Kintel
3e3caaa625
Removed eigen2 from build system and documentation. We now require eigen3
2013-11-15 15:48:43 -05:00
Torsten Paul
1fcad169e6
Update 'for' test cases to match the new range expression handling.
2013-11-11 01:38:34 +01:00
Torsten Paul
e6b2884805
Fix output of range expressions.
2013-11-11 01:38:34 +01:00
Torsten Paul
3c0e9f4f18
Update 'children' test case using range [4 : -1 : 0] which is now valid.
2013-11-11 01:38:24 +01:00
Torsten Paul
bcba02fac3
Add test cases for new range expression handling.
2013-11-11 01:31:53 +01:00
Marius Kintel
e722d906ce
Get rid of leading zeros in date tags, causing them to be interpreted as octal in C++
2013-11-08 00:34:01 -05:00
Torsten Paul
74082c8cff
Extend circle tests to cover the new diameter parameter.
2013-10-21 19:47:55 +02:00
Torsten Paul
141f43498c
Add cylinder tests to cover the new diameter parameters.
2013-10-21 19:47:55 +02:00
Torsten Paul
6624fc7089
Extend sphere tests to cover the new diameter parameter.
2013-10-21 19:47:48 +02:00
Marius Kintel
d2a729bdfa
Ignore malformed polygons
2013-10-19 17:15:25 -04:00
Marius Kintel
257d1f7115
Use VERSION env. variable or current timestamp for test builds
2013-10-19 17:15:05 -04:00
Marius Kintel
e77615be30
Merge branch 'children' of git://github.com/vicnet/openscad into vicnet-children
...
Conflicts:
tests/CMakeLists.txt
2013-10-13 13:19:34 -04:00
Marius Kintel
0860dfda3e
Added test case for parent_module()
2013-10-08 23:40:42 -04:00
Vicnet
4401a136b9
add children tests
2013-10-08 15:35:47 +02:00
Marius Kintel
aa1752a3a0
Mac needs to know if we're a GUI app in order to find bundled libraries, Use Qt to find application path if available
2013-10-07 15:47:08 -07:00
Marius Kintel
4c06a4e78f
Set OPENSCADPATH in order for tests to find MCAD
2013-10-07 15:46:45 -07:00
Marius Kintel
fd59585983
Bugfix related to #480 : some tests had the test file specified twice
2013-10-07 15:32:05 -07:00
Marius Kintel
572ab5804b
Added echo as test type
2013-10-06 18:00:26 -07:00
Don Bright
c78c0e8875
turn off extra debug in cmakelist
2013-09-22 16:46:48 -05:00
Don Bright
c9f8b7bf6b
Merge branch 'issue480' of github.com:openscad/openscad into issue480
...
Conflicts:
tests/CMakeLists.txt
2013-09-22 16:45:38 -05:00
Don Bright
40a198a087
tweaks for building on older machines
2013-09-22 16:35:29 -05:00
Don Bright
8c11a091d5
use debug symbols for test binaries. also remove echostream pointer
2013-09-21 10:25:36 -05:00
Don Bright
efc6731774
make echotest work on BSD, by adding .echo as recognized extension
2013-09-21 09:04:01 -05:00
Don Bright
47ed2f1b12
moving towards making tests work on bsd again
2013-09-21 00:12:42 -05:00
Don Bright
5f36117b8f
restore missing digits. make --info work better. fix parser / path bug
2013-09-20 01:54:53 -05:00
Don Bright
3eda281be1
allow openscad binary to be compiled with or without QT. use non-QT for tests.
2013-09-20 00:19:09 -05:00
don bright
9a484d7170
fix camdist test, issue #430
2013-09-15 08:22:35 +02:00
Marius Kintel
ead8749e99
Merge pull request #476 from openscad/testfixes
...
Testfixes
2013-09-12 22:06:17 -07:00
Don Bright
dd3ba6d805
cleanup, remove unused files and code, etc
2013-09-12 20:17:02 -05:00
Don Bright
30fd8b250a
little tweaks, cleanups, tab fixing, eliminating comments
2013-09-12 20:03:27 -05:00
Don Bright
d6a57b8968
fix bug in 2d resize code
2013-09-12 19:44:07 -05:00
Don Bright
c87e9f8d6e
remove extraneous files, add rands working test
2013-09-12 00:47:03 -05:00
Don Bright
6af6c311a1
cmdline throwntogether, integrate w chrysn tests, update resize tests
2013-09-12 00:17:17 -05:00
Don Bright
ea92d9ce19
fix issue #430
2013-09-11 19:52:31 -05:00
David M. Palmer
31cb13b7ae
Mac Build update build to 2013-09 versions
...
README.md
reflect change in setenv_mac*.sh files
macosx-build-dependencies.sh
qt4 version updated to 4.8.5 and is now at a different host which uses 302 redirection
FindBoost.cmake
Added paths for MacPorts (/opt/local) and Brew (/usr/local) to previous Fink (/sw/local)
2013-09-05 21:50:19 -06:00
Marius Kintel
a7396cc36f
Fixes two problems related to : lookup was dynamic rather than lexical, assignment was done after all local variables causing it not to be copyable
2013-08-21 01:40:21 -04:00
Marius Kintel
fe7fb45019
Support out-of-source use of testsuite. Fixes #456
2013-08-17 13:18:49 -04:00
Marius Kintel
ea606f69fc
Merge branch 'master' of github.com:openscad/openscad
2013-08-14 23:01:43 -04:00
Don Bright
6900160b7d
commit bugfix per report from chrysn to mailing list 8/8/13
2013-08-08 18:07:14 -05:00
Marius Kintel
70247b7545
Ported use of check_output to Python-2.6
2013-07-02 10:59:59 +02:00
Marius Kintel
c3e7d4bf03
dumptest now supports the root modifier - updated test results
2013-07-02 09:33:24 +02:00
Marius Kintel
6082dafad8
Re-enable tests which previously cause floating point comparison issues
2013-07-02 00:16:07 -04:00
chrysn
4d18db65e3
python validation for cgal stl sanity test
...
this drops another static binary and replaces it with a very small
shell^Wpython script (again, python used to avoid sed / grep
implementation differences)
2013-06-28 11:47:17 +02:00
chrysn
28e420d871
replace echotest and dumptest with python scripts
...
this solves problems of sed compatibility on different platoforms.
also, the openscad binary to use is now passed in from the ctest script.
2013-06-28 10:50:48 +02:00
chrysn
ad1a11a28e
Merge branch 'master' into no-testprograms
...
Conflicts:
tests/CMakeLists.txt
tests/regression/csgtermtest/assign-expected.term
tests/regression/csgtermtest/child-expected.term
tests/regression/csgtermtest/circle-expected.term
tests/regression/csgtermtest/color-expected.term
tests/regression/csgtermtest/cube-expected.term
tests/regression/csgtermtest/cylinder-expected.term
tests/regression/csgtermtest/difference-expected.term
tests/regression/csgtermtest/dxf_linear_extrude-expected.term
tests/regression/csgtermtest/dxf_rotate_extrude-expected.term
tests/regression/csgtermtest/echo-expected.term
tests/regression/csgtermtest/for-expected.term
tests/regression/csgtermtest/glide-expected.term
tests/regression/csgtermtest/group-expected.term
tests/regression/csgtermtest/hull-expected.term
tests/regression/csgtermtest/if-expected.term
tests/regression/csgtermtest/import-expected.term
tests/regression/csgtermtest/import_dxf-expected.term
tests/regression/csgtermtest/import_off-expected.term
tests/regression/csgtermtest/import_stl-expected.term
tests/regression/csgtermtest/intersection-expected.term
tests/regression/csgtermtest/intersection_for-expected.term
tests/regression/csgtermtest/linear_extrude-expected.term
tests/regression/csgtermtest/minkowski-expected.term
tests/regression/csgtermtest/mirror-expected.term
tests/regression/csgtermtest/multmatrix-expected.term
tests/regression/csgtermtest/polygon-expected.term
tests/regression/csgtermtest/polyhedron-expected.term
tests/regression/csgtermtest/projection-expected.term
tests/regression/csgtermtest/render-expected.term
tests/regression/csgtermtest/rotate-expected.term
tests/regression/csgtermtest/rotate_extrude-expected.term
tests/regression/csgtermtest/scale-expected.term
tests/regression/csgtermtest/sphere-expected.term
tests/regression/csgtermtest/square-expected.term
tests/regression/csgtermtest/subdiv-expected.term
tests/regression/csgtermtest/surface-expected.term
tests/regression/csgtermtest/translate-expected.term
tests/regression/csgtermtest/union-expected.term
tests/regression/dumptest/circle-expected.csg
tests/regression/dumptest/color-expected.csg
tests/regression/dumptest/cube-expected.csg
tests/regression/dumptest/cylinder-expected.csg
tests/regression/dumptest/difference-expected.csg
tests/regression/dumptest/dxf_linear_extrude-expected.csg
tests/regression/dumptest/dxf_rotate_extrude-expected.csg
tests/regression/dumptest/glide-expected.csg
tests/regression/dumptest/import-expected.csg
tests/regression/dumptest/import_dxf-expected.csg
tests/regression/dumptest/import_off-expected.csg
tests/regression/dumptest/import_stl-expected.csg
tests/regression/dumptest/intersection-expected.csg
tests/regression/dumptest/intersection_for-expected.csg
tests/regression/dumptest/linear_extrude-expected.csg
tests/regression/dumptest/minkowski-expected.csg
tests/regression/dumptest/mirror-expected.csg
tests/regression/dumptest/multmatrix-expected.csg
tests/regression/dumptest/polygon-expected.csg
tests/regression/dumptest/polyhedron-expected.csg
tests/regression/dumptest/projection-expected.csg
tests/regression/dumptest/render-expected.csg
tests/regression/dumptest/rotate-expected.csg
tests/regression/dumptest/rotate_extrude-expected.csg
tests/regression/dumptest/scale-expected.csg
tests/regression/dumptest/sphere-expected.csg
tests/regression/dumptest/square-expected.csg
tests/regression/dumptest/subdiv-expected.csg
tests/regression/dumptest/surface-expected.csg
tests/regression/dumptest/translate-expected.csg
2013-06-26 18:06:00 +02:00
Marius Kintel
d9b3f7b52b
Test case for #399
2013-06-25 23:17:51 -04:00
chrysn
077332ff5c
normalize -nan and -0 in all output modes
...
having a stable output is not only relevant in testing, and with the
main binary being used for more tests, having those normalizations takes
load off the preparing scripts tests/{dumptest,echotest}
2013-06-25 14:26:28 +02:00
chrysn
a4b5449d4e
remove test binaries for cgsltest, csgtermtest and opencsgtest
2013-06-25 14:25:07 +02:00
chrysn
17cd6d1989
switch opencsgtest to native binary
2013-06-25 14:25:07 +02:00
chrysn
0eb64d8f7a
ctest infrastructure for native .term tests
2013-06-25 13:41:49 +02:00
chrysn
3460564880
renamed csgtermtest to .term
2013-06-25 13:41:49 +02:00
chrysn
1d17e623db
make test_pretty_print.py work with .csg and .ast too
...
file results that were neither txt nor png used to be ignored silently;
now, unknown extensions produce errors, and csg and ast are known.
2013-06-25 13:41:49 +02:00
chrysn
2006824c24
drop moduledumptest, use `openscad -o ${NAME}.ast`
...
src/openscad.cc code was copy/pasted from .csg section; some refactoring
might make things nicer, but i didn't dare change too much for lack of
language knowledge
2013-06-25 13:41:49 +02:00
chrysn
06fd345dfc
drop cgalpngtest all together
...
replaced in CMakeLists.txt with direct openscad call, and duplicate
checks removed
cgalpngtest_text-search-test was left in the Heavy configuration,
resolving the ambiguity of it being heavy with cgalpngtest and not with
openscad-cgalpng (which does the same thing)
2013-06-25 13:41:48 +02:00
chrysn
887c4757b6
drop cgalpngtest for openscad drop in replacement
2013-06-25 13:41:48 +02:00
chrysn
770cb09f5f
trim precision from the echo tests
...
as it was done with dumptest before
2013-06-25 13:41:48 +02:00
chrysn
7d53e564aa
use openscad as a replacement for dumptest and echotest
...
the echotest and dumptest still contain hacks to keep the delta to the
original unit tests minimal; possibly, some of these changes will make
it into the openscad program, at which time they can go away from there.
2013-06-25 13:41:48 +02:00
chrysn
84857ac157
modify root modifier example now that the test program respects the root modifier
...
as the dumptests are now run from a full openscad, the root modifier is
respected by the test program too; reflectin that in the unit test
2013-06-25 13:41:48 +02:00
chrysn
850058eb69
trim precision in dumptest regressions
...
in order for them to work against openscad's .csg output, the number of
decimal places was reduced.
2013-06-25 13:41:48 +02:00
chrysn
00e29e9099
changed group headers to empty group headers
...
this became necessary because the batch editing in the last commit
didn't respect that an empty group is not group() { } but group();
2013-06-25 13:41:47 +02:00
chrysn
400248d566
renamed dumptest files to .csg and added group headers
2013-06-25 13:41:47 +02:00
Marius Kintel
a3cd019494
Removed a bunch of less useful tests
2013-06-23 01:56:04 -04:00
Marius Kintel
10032341e2
Default to clang for Mac OS X 10.7+
2013-06-20 00:05:09 -04:00