Marius Kintel
c3e7d4bf03
dumptest now supports the root modifier - updated test results
2013-07-02 09:33:24 +02:00
Marius Kintel
5a43874897
cgalstlsanitytest moved
2013-07-02 00:28:56 -04: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
chrysn
d532a17cb8
acknowledge new output formats in release notes
2013-06-26 15:28:51 +02:00
chrysn
aaa781b12e
document the new commands
2013-06-26 15:28:51 +02:00
chrysn
177e4676a4
document the testing migration to the main binary
2013-06-26 15:28:50 +02:00
Marius Kintel
1b7cc41a7f
Short circuit boolean logic - fixes #411
2013-06-25 23:39:02 -04: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
b7170fe349
add .term output for CSG term export
2013-06-25 14:25:03 +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
140189d470
renamed to setenv_mac-*
2013-06-23 00:13:43 -04:00
Don Bright
b715e580f7
check OPENSCAD_LIBRARIES first
2013-06-22 08:29:42 -05:00
Marius Kintel
ec867349ff
Close file as soon as possible to avoid potential readlocks being kept too long. Might be enough for #415
2013-06-21 01:36:08 -04:00
Marius Kintel
2da488800c
Merge remote-tracking branch 'origin/epec-kernel'
2013-06-20 00:27:23 -04:00
Marius Kintel
cf882d2ea3
gcc and clang profiles
2013-06-20 00:13:43 -04:00
Marius Kintel
1c719371cc
Merge remote-tracking branch 'origin/epec-kernel'
2013-06-20 00:11:16 -04:00
Marius Kintel
10032341e2
Default to clang for Mac OS X 10.7+
2013-06-20 00:05:09 -04:00
Marius Kintel
bac587363a
Merge pull request #413 from hroncok/patch-2
...
Added missing include stdint.h to work with gcc 4.8.1
2013-06-19 11:11:21 -07:00
Miro Hrončok
7870d9c15a
Added missing include stdint.h to work with gcc 4.8.1
...
Without this include, this was not possible to build with gcc 4.8.1:
Build log (without this commit): http://kojipkgs.fedoraproject.org//work/tasks/1370/5521370/build.log
2013-06-19 20:09:44 +02:00
Marius Kintel
c75d195552
clang fixes
2013-06-19 03:48:50 -04:00
Marius Kintel
b75826d298
Leftover from previous merge
2013-06-19 03:48:16 -04:00
Marius Kintel
9b7c83bbda
missed one conflict
2013-06-18 02:17:25 -04:00
Marius Kintel
a0a49b0bc9
Merge remote-tracking branch 'origin/issue181' into epec-kernel
...
Conflicts:
src/MainWindow.h
src/ModuleCache.cc
src/mainwin.cc
src/module.cc
src/module.h
src/parsersettings.cc
testdata/modulecache-tests/cascade.sh
testdata/modulecache-tests/cascade2.sh
2013-06-18 02:16:20 -04:00
Marius Kintel
f452c986e1
Default to clang for Mac
2013-06-18 01:58:26 -04:00
Marius Kintel
169e08adce
Default to clang for Mac
2013-06-18 01:58:15 -04:00
Marius Kintel
6d91540e4c
Merge branch 'master' into epec-kernel
2013-06-18 01:46:48 -04:00
Marius Kintel
6c7d386a33
Point documentation to openscad.org/documentation.html
2013-06-17 23:25:01 -04:00
Marius Kintel
60e0edb211
Removed 'Root Context' debug output
2013-06-17 23:24:01 -04:00
Marius Kintel
a02c826ed5
Merge branch 'master' of github.com:openscad/openscad
2013-06-17 22:20:11 -04:00
Don Bright
8b187f20be
Merge branch 'master' of github.com:openscad/openscad
2013-06-17 19:33:09 -05:00
Don Bright
d6eaf5bf7c
add files.openscad.org to windows builder script
2013-06-17 19:32:30 -05:00
Marius Kintel
07c7c0d837
Added future wishes
2013-06-17 01:59:14 -04:00