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
Marius Kintel
2622fd52bb
updated ignores
2013-06-17 00:02:26 -04:00
Marius Kintel
f89b299357
Updated test results to match recent change
2013-06-15 13:28:32 -04:00
Marius Kintel
3f936099fa
Clamp linear_extrude height to 0. Fixes #405
2013-06-15 12:48:09 -04:00
Marius Kintel
026f23ee6d
updated testcases for recently updated tests
2013-06-14 14:25:54 -04:00
Marius Kintel
b45a93aad2
Related to #399 , reverted assignment evaluation order to be the same as in 2013.01 as the new implementation broke existing scripts. Added some experimental commented out code, which can be used as reference in the future
2013-06-13 10:29:39 -04:00
Marius Kintel
80d81d9b76
Added scope and reassignment tests
2013-06-13 01:26:36 -04:00
Don Bright
5268638ffe
better solution for xvfb startup on netbsd/ash
2013-06-09 15:25:14 -05:00
Don Bright
3302442b97
netbsd fix for virtualfb.sh xvfb startup
...
A
2013-06-09 13:21:29 -05:00
Don Bright
49af42cfd0
a few fixes for netbsd
2013-06-08 23:49:21 -05:00
Marius Kintel
f2f019f57e
clamp to 3. Fixes #395
2013-06-08 02:12:06 -04:00
Marius Kintel
41f352a788
Added moduledumptest. Fixes #384
2013-06-01 16:11:44 -04:00
Marius Kintel
84088dee58
Improved if-else test to include a multiple-children test
2013-06-01 16:11:15 -04:00
Marius Kintel
f110092852
Added resize() and improved if test
2013-06-01 16:09:05 -04:00
Marius Kintel
e40eeaf8c8
bugfix: actually link to OPENGL_LIBRARIES instead of OPENGL_LIBRARY, remove qt linkage
2013-05-28 17:15:42 -07:00
Marius Kintel
837b574351
Added missing test result
2013-05-26 17:15:02 -04:00
Marius Kintel
eb1fc82534
typo
2013-05-26 17:06:56 -04:00
Marius Kintel
6cdffec403
disabled the wrong test by mistake
2013-05-26 17:03:21 -04:00
Marius Kintel
e607447761
Added expected files for example024
2013-05-25 11:48:04 -07:00
Marius Kintel
85d465617a
Updated tests as part of #304
2013-05-25 14:01:45 -04:00
Marius Kintel
199409c42b
re-disabled some nonsensical test combinations
2013-05-25 13:30:38 -04:00
Marius Kintel
794b80ffcf
Modified tests for #304
2013-05-25 13:11:09 -04:00
don bright
f95941bbba
update cmake to work with custom built GLU in $BASEDIR
2013-05-23 19:31:49 -07:00
Marius Kintel
71ab237aad
Added tests for linear extrude with scale. Should mostly fix #273
2013-05-21 21:26:51 -04:00
Marius Kintel
beda4a7952
Updated expected test: ERROR label
2013-05-14 02:55:53 +02:00
Marius Kintel
a1ade23e98
bugfix: messed up parser filenames
2013-05-14 01:31:44 +02:00
Marius Kintel
8c532d5252
Updated test cases to reflect scale argument to linear_extrude ( #273 )
2013-05-11 12:56:19 -04:00
Marius Kintel
3780677def
Added testcase for #322
2013-05-09 17:28:05 +02:00
Marius Kintel
c5ebdb788b
Added failing test for #336
2013-05-09 14:23:52 +02:00
Marius Kintel
ad8ba77a15
Added failing test for #352
2013-05-09 12:16:58 +02:00
Marius Kintel
14e1ad2363
Forgot to actually add most files in previous commit ( #217 )
2013-05-09 12:12:58 +02:00
Marius Kintel
0e938364fe
Search for included files first in the same location as the including module, then in the document root as a compatibility fallback. Fixes #217
2013-05-09 11:02:31 +02:00
Marius Kintel
db8ad9631d
Added failing test for the #217 regression
2013-05-08 16:34:38 +02:00
Marius Kintel
e09d1df0e1
Merge branch 'master' into local-scope
2013-05-05 01:26:09 +02:00
Marius Kintel
c4cae2a29a
Fixes crash if hull's children are empty objects. Fixes #345
2013-05-02 22:11:23 -04:00
Marius Kintel
886bc85eec
Fixes remaining dxfdim() issue from #217
2013-04-27 00:53:41 -04:00
Marius Kintel
ba20c0e800
Modified parse to allow overloading of variables in local blocks. Also did some minor cleanups while at it. Test cases missing
2013-04-26 18:32:19 -04:00
Marius Kintel
9b740b558d
Further refactoring of scope/context mechanisms. Mostly related to the new FileContext class. Not quite there yet, but almost
2013-04-26 17:45:03 -04:00
Marius Kintel
9a297ecee5
Refactoring: Split out FileModule from Module, Added LocalScope renamed some confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-26 17:45:03 -04:00
Marius Kintel
b5922d7551
Merge branch 'master' into issue116
2013-04-24 02:00:28 -04:00
Marius Kintel
eb60b5f937
Tag search failures as warnings
2013-04-19 15:57:11 -04:00
Marius Kintel
f55cd8198a
Merge branch 'master' into issue116
2013-04-18 21:52:20 -04:00
don bright
d4d3e7456f
fix bug report in clang detect reported by Marius Kintel
2013-04-18 17:23:08 -07:00
Marius Kintel
b06b4f32f8
Merge branch 'master' into issue116
2013-04-18 18:42:51 -04:00
Don Bright
c5bdc40c26
fix bug in cmake file cgal-flags when using clang
2013-04-14 01:11:09 -05:00
Marius Kintel
60a351a5ee
Merge branch 'noqt'
2013-04-12 00:13:09 -04:00
Marius Kintel
49a288cd34
Merge branch 'noqt' into testing
2013-04-10 14:28:51 -04:00
Marius Kintel
a37813a899
Refactored context handling into using separate Module contexts and Eval contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2013-04-09 00:28:16 -04:00
Marius Kintel
3307deee93
Added test for inner module variables
2013-04-08 22:41:28 -04:00
Marius Kintel
4f82bd21bb
Merge branch 'master' into issue217
2013-04-05 01:30:40 -04:00
Marius Kintel
1b8b7aa5fa
I think this should fix issue #217
2013-04-05 01:30:09 -04:00
Marius Kintel
7b5cd11cdc
bugfix: If the test driver returned an error, it was ignored by the test script
2013-04-05 00:11:48 -04:00
don bright
c855e4d043
Merge branch 'noqt' of ssh://ssh.github.com:443/openscad/openscad into noqt_tweaks
2013-03-16 21:56:01 +01:00
don bright
5edc8c57da
update cmakelist for building tests in same dir as gui binary
2013-03-16 21:55:38 +01:00
don bright
eb8772539c
update test results
2013-03-16 13:34:47 -05:00
don bright
c46fb24bf2
update regression test results
2013-03-16 13:18:10 -05:00
don bright
035f022e0a
Merge branch 'master' of github.com:openscad/openscad into resize5
2013-03-16 13:07:21 -05:00
Marius Kintel
dccc039211
Got rid of remaining Qt dependencies. The test framework should now be Qt-free
2013-03-12 01:14:58 -04:00
Marius Kintel
6b8a5e266c
Handle files with non-ascii filenames. Only rudimentary tested. Fixes #113 #290
2013-03-11 22:14:00 -04:00
don bright
ea0bb94be9
Merge branch 'master' of github.com:openscad/openscad into resize5
2013-03-11 16:40:51 -07:00
don bright
79ce1e47d0
add new test results and updated versions of old ones
2013-03-11 17:59:02 -05:00
Marius Kintel
d9c4b77942
Added test case for value reassignment issue. #289
2013-03-11 17:58:05 -04:00
Marius Kintel
adb16cb7dd
Expected files for recently added tests
2013-03-11 17:54:00 -04:00
Marius Kintel
be645d8a54
Small generalization of cmd-line test driver. Added tests for image output and camera settings for the OpenSCAD app
2013-03-11 16:12:35 -04:00
don bright
33a54b52f2
test output for resize()
2013-03-09 20:36:35 -06:00
Marius Kintel
65e65b6c4c
Support cmake < 2.8.3
2013-03-09 13:05:07 -05:00
Marius Kintel
e868b4a5a1
Merge pull request #299 from openscad/testdriver-fix
...
Testdriver fix
2013-03-09 08:05:29 -08:00
don bright
a7ee238a51
clarify error message when no image is generated
2013-03-09 09:58:54 -06:00
don bright
74432b3206
fix for when running under wine. also fix test_pretty_print bug
2013-03-09 09:42:53 -06:00
Marius Kintel
b308ec270d
Merge branch 'master' of github.com:openscad/openscad
2013-03-09 10:39:55 -05:00
Marius Kintel
b7bb0071fb
Added tests which slipped through earlier. Fixes #298
2013-03-09 10:39:46 -05:00
don bright
1221b66edb
use pkgconfig for eigen + fix mingw builds
2013-03-08 20:07:40 -06:00
Marius Kintel
2ab5a0cc9b
Use function instead of module to avoid leaking global variables
2013-03-08 11:29:55 -05:00
Marius Kintel
5acc695399
Generalized the test driver a tiny bit
2013-03-08 11:08:36 -05:00
don bright
974abf1304
fix strecthing with --imgsize per bug rept from Marius Kintel
2013-03-05 21:10:10 -06:00
Marius Kintel
4734172c3a
Tag test as heavy
2013-03-05 14:16:59 -05:00
don bright
50fcfe63c9
update documentation
2013-03-03 19:59:27 -06:00
don bright
42ca2151b1
cleanups
2013-03-03 19:47:07 -06:00
don bright
95bb1128fa
make xvfb test message not spill over the edge of the screen
2013-03-03 20:52:44 +01:00
don bright
bacaa2b1b9
fix bugs in testing
2013-03-03 18:41:37 +01:00
don bright
0f6b76cf21
move csg chain prep code to CsgInfo.h, move defaults to rendersettings.h
2013-03-03 09:22:36 -06:00
don bright
f60ece7864
fix bugs for test compile
2013-02-26 05:55:07 +01:00
don bright
86e017ee9a
clearer documentation
2013-02-24 22:08:12 -06:00
don bright
3c9ea0e0b2
don't write wiki files by default. everything is in a single .html
...
use --wiki and/or --wiki-upload if you still want wiki output
2013-02-24 21:20:11 -06:00
don bright
9896b6f15e
first working version of opencsg png export from gui binary
...
also guiopencsgtest introduced. passes 100% of 'normal' tests
2013-02-24 21:07:37 -06:00
don bright
8738cdc034
split out axes functions. begin to split out opencsg pre-rendering
2013-02-24 19:04:50 -06:00
don bright
707118ce94
move enable_opencsg_shaders, fix indenting, split out display_opencsg_warning
...
also update docs, and try to make enable_opencsg_shaders the same between
qgl and offscreengl
2013-02-24 11:21:45 -06:00
don bright
ca41979ee5
Merge branch 'master' of github.com:openscad/openscad into issue11_2
...
Conflicts:
RELEASE_NOTES
openscad.pro
src/mainwin.cc
2013-02-23 21:54:53 -06:00
don bright
ce2a9a8cb5
move enable_opencsg_shaders from csgtestcore to OffscreenView.cc
2013-02-23 20:54:13 -06:00
don bright
0f977609b4
put qglview.h into mainwin for deps. unify camera functions into glview.
...
remove duplicate code.
2013-02-23 18:50:20 -06:00
don bright
fc2d9341fa
begin process of unifying GLView and OffscreenView. renames, objrot, objtran
2013-02-20 19:56:30 -06:00
don bright
b7d1c94dc1
remove unnecessary copy of test_pretty_print.py to builddir
2013-02-19 19:47:01 -06:00
Don Bright
c304adabe2
update documentation. tweak scripts
2013-02-19 19:43:25 -06:00
Don Bright
85d3f3c7c9
report is now single monolithic html file using data_uri encoding.
2013-02-18 21:36:00 -06:00
Don Bright
21e3928854
documentation and some other tweaks
2013-02-18 20:07:49 -06:00
Don Bright
3fc620c965
new upload design using python paramiko. also fix glew bugs.
2013-02-18 19:45:37 -06:00
Don Bright
c5eb57eb19
more info when Xvnc/Xvfb cannot start
2013-02-17 04:18:42 +01:00
don bright
2346a38a24
Merge branch 'issue11_2' of github.com:openscad/openscad into issue11_2
2013-02-16 09:37:32 -06:00
don bright
7160ab5610
get pretty_printing working under MINGW cross build. update docs
2013-02-16 09:37:01 -06:00
don bright
79c4b61f22
deal with some unusual systems where $! doesn't work as expected
2013-02-16 15:38:11 +01:00
don bright
1778047f77
for portable testing, use Value() result for doubles inside multmatrix
2013-02-16 05:45:52 -08:00
don bright
063a288dce
fix imagemagick finding under mingw cross build test
2013-02-16 07:37:16 -06:00
don bright
f4c8660864
make dumptests work (on linux/mac) when SKIP_IMAGEMAGICK set
2013-02-15 05:29:53 +01:00
don bright
5138dca395
remove debug msg
2013-02-14 19:33:34 -06:00
don bright
c1b1d0992f
tweaks to get tests working on a cross-compile under Wine
2013-02-12 01:07:54 -06:00
Marius Kintel
a4fea6df86
Tag all heavy cgal tests as heavy also for the GUI tests
2013-02-07 15:57:01 -05:00
Marius Kintel
4e519078d6
Merge branch 'master' into issue11_2
2013-02-07 13:43:20 -05:00
don bright
44cddd0b3c
Merge branch 'master' of github.com:openscad/openscad into cmake_workaround
...
Conflicts:
tests/virtualfb.sh
2013-02-03 02:40:26 +01:00
don bright
b390d54471
fix bug in test_pretty_print.cc / Cmakefile
...
The build needs to be after Python binary has been found because the Python
binary path is passed to the .cc compile through a -D flag.
2013-02-03 01:39:43 +01:00
don bright
8c9c9adfe0
improve Xvfb handling when ctest is cancelled partway through
2013-02-03 01:21:47 +01:00
don bright
1a545b75f6
workaround cmake 2.8.10 not allowing CTEST_CUSTOM_POST_TEST arguments
2013-02-02 15:44:25 -08:00
don bright
52cb3b00c2
start Xvfb on random DISPLAY number.
2013-02-02 20:04:05 +01:00
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