Commit Graph

687 Commits (2e21f3deff585731d5377490cde87eeccd917445)

Author SHA1 Message Date
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