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