Commit Graph

348 Commits (9caa2dcfa5fb6e56f88fdcf575e74c3e821d9c52)

Author SHA1 Message Date
Marius Kintel 446dc3d36d Improved non-planar tests 2013-12-15 18:19:05 -05: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
Don Bright f12237a9c4 add tests for non-planar bug. add docs to .cc code 2013-12-14 21:58:22 -06: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
Marius Kintel 7cb3ea77ff Build glib2 and gettext on Mac, Find macro for glib2 2013-12-10 23:08:04 -05:00
Marius Kintel a407e4bf29 Enable upload of test results (#525) 2013-12-08 23:13:28 -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
Marius Kintel b131464f95 #559 CMAKE_OSX_DEPLOYMENT_TARGET needs to be cached 2013-12-08 13:50:03 -05:00
Marius Kintel 38a3422159 #559 fixes for 10.9 2013-12-06 00:39:21 -05: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 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 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
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 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
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 30fd8b250a little tweaks, cleanups, tab fixing, eliminating comments 2013-09-12 20:03:27 -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
Marius Kintel fe7fb45019 Support out-of-source use of testsuite. Fixes #456 2013-08-17 13:18:49 -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 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 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 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