Torsten Paul
c0c4fdf527
Handle $fn, $fa and $fs for CSG output.
2014-08-03 20:31:03 +02:00
Torsten Paul
164b50b1b7
Add version output to text examples and fix viewport orientation.
2014-08-03 18:38:21 +02:00
Torsten Paul
c5ce5a400c
Fix recursive include handling by using canonical path ( fixes #885 ).
2014-07-30 00:14:03 +02:00
Marius Kintel
9c1bb00885
Updated expected images
2014-07-24 02:12:36 -04:00
Marius Kintel
20e97ac482
Removed unnecessary test related to old colorscheme experiments
2014-07-24 02:12:07 -04:00
Marius Kintel
40b5028955
Turn off camera debugging
2014-07-23 23:48:46 -04:00
Marius Kintel
ff3e65ad16
Updated expected images for 2D tests using autocenter and viewall
2014-07-23 23:36:42 -04:00
Marius Kintel
7de599324b
Adjust 2D test handling
2014-07-23 23:36:20 -04:00
Marius Kintel
1c690dfe5d
Updated test image (forgotten as it was part of examples)
2014-07-22 18:05:41 -04:00
Marius Kintel
d4f769c15c
Updated test image (forgotten as it was part of examples)
2014-07-22 17:11:45 -04:00
Don Bright
858afffff8
add more expected images. remove accidentally added intermediate files.
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 17:11:41 -04:00
Marius Kintel
c90cb30e50
Synced some remaining fixes from the test_3d_export branch
2014-07-22 16:23:05 -04:00
Don Bright
3b5893144d
run the diffpng image comparer without creating an output image, for speed
2014-07-22 16:09:56 -04:00
Marius Kintel
3bd56036a5
Tag all example tests correctly
2014-07-22 16:09:51 -04:00
Don Bright
d819ab6d32
new tests for stlpngtest offpngtest
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
2014-07-22 16:09:34 -04:00
Don Bright
ac27854c8f
fix bug where --render was not using proper colorscheme due to
...
getFacetColor in OGL_helper.h not being overridden in CGAL_renderer.h
Conflicts:
src/CGALRenderer.cc
src/CGAL_renderer.h
src/OGL_helper.h
src/renderer.cc
tests/CMakeLists.txt
tests/export_import_pngtest.py
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 15:55:40 -04:00
Marius Kintel
07da269643
Use --render when creating expected images
2014-07-22 15:45:21 -04:00
Marius Kintel
dec1abd827
turn off pretty-print debugging
2014-07-22 15:45:05 -04:00
Don Bright
92ef136967
re-doing the test generation for 3d formats that dont preserve color
2014-07-22 15:33:10 -04:00
Don Bright
cc6a0978cb
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/diffpng.cpp
tests/test_3d_export.py
tests/test_pretty_print.py
2014-07-22 15:33:08 -04:00
Don Bright
02f91a7413
debugging messages. update diffpng
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 15:21:41 -04:00
Don Bright
3c71753332
tweak improvements for test pretty print logging. new intersection test img files
...
Conflicts:
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/test_pretty_print.py
2014-07-22 15:18:18 -04:00
Don Bright
e5bb9d178d
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/test_3d_export.py
tests/test_cmdline_tool.py
tests/test_pretty_print.py
2014-07-22 15:15:53 -04:00
Don Bright
07ad12f154
update diffpng.cpp
2014-07-22 15:09:42 -04:00
Don Bright
4d619a7e38
update diffpng
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:36 -04:00
Don Bright
94d11adeb2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:04 -04:00
Don Bright
901caedd01
fallback to diffpng if ImageMagick is missing
2014-07-22 15:02:27 -04:00
don bright
a44f844882
fix bug in imagemagick comparison detector
2014-07-22 15:02:20 -04:00
Don Bright
6f0bd738e7
test ImageMagick to see if two non-identical images are considered identical.
...
on failure, fall back to diffpng comparison (diffpng.cpp)
2014-07-22 15:02:13 -04:00
Don Bright
b3737d96c2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
tests/test_cmdline_tool.py
2014-07-22 15:02:05 -04:00
Marius Kintel
b3d094a604
Fixed failing tests by adjusting some mistakes done while cherry-picking from the test_3d_export branch
2014-07-22 14:11:21 -04:00
Don Bright
209feff810
redo 2d tests to be viewed from the top down. experiment w altering viewall code
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
tests/regression/cgalpngtest/resize-2d-tests-expected.png
tests/regression/cgalpngtest/rotate_extrude_dxf-tests-expected.png
tests/regression/cgalpngtest/text-font-alignment-tests-expected.png
tests/regression/cgalpngtest/text-font-direction-tests-expected.png
tests/regression/cgalpngtest/text-font-simple-tests-expected.png
tests/regression/cgalpngtest/text-font-tests-expected.png
tests/regression/dumptest/resize-2d-tests-expected.csg
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/regression/opencsgtest/resize-2d-tests-expected.png
tests/regression/opencsgtest/rotate_extrude_dxf-tests-expected.png
tests/regression/opencsgtest/text-font-alignment-tests-expected.png
tests/regression/opencsgtest/text-font-direction-tests-expected.png
tests/regression/opencsgtest/text-font-simple-tests-expected.png
tests/regression/opencsgtest/text-font-tests-expected.png
tests/regression/throwntogethertest/resize-2d-tests-expected.png
tests/regression/throwntogethertest/rotate_extrude_dxf-tests-expected.png
tests/regression/throwntogethertest/text-font-alignment-tests-expected.png
tests/regression/throwntogethertest/text-font-direction-tests-expected.png
tests/regression/throwntogethertest/text-font-simple-tests-expected.png
tests/regression/throwntogethertest/text-font-tests-expected.png
2014-07-22 14:00:08 -04:00
Don Bright
f3a0d5dc64
add --autocenter option to make it easier to test 2d objects properly
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 13:37:09 -04:00
Marius Kintel
28864037ee
Split info() function into separate file as it depends on too many defines and external libs
2014-07-22 13:32:44 -04:00
Marius Kintel
50ac9c262c
cgal vs. nocgal build tweaks
2014-07-22 12:21:48 -04:00
Marius Kintel
fef8e6a9a8
Correctly display OpenCSG version for test suite
2014-07-22 11:49:08 -04:00
Oskar Linde
ba81166a2b
Add tests for issue #883
2014-07-22 11:11:23 +02:00
Marius Kintel
0852e707a6
Don't crash on infinite dimensions. Fixes #859
2014-07-17 17:59:42 -04:00
Marius Kintel
c7aa75c558
Merge pull request #856 from openscad/fix-viewport-scoping
...
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Torsten Paul
37686582d9
Test case for UTF-8 include / use (issue #875 ).
2014-07-17 00:54:12 +02:00
Torsten Paul
1269ef49c3
Add test cases for chr().
2014-07-13 19:18:48 +02:00
Torsten Paul
d0ba2903b3
Enable text for most test cases and update reference images.
2014-07-12 21:36:56 +02:00
Torsten Paul
d86e9d43ee
Fix text() CSG output and cleanup test cases.
...
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
Torsten Paul
7847fd0dad
Update camera settings for camortho test and update reference image.
2014-07-08 00:55:01 +02:00
Torsten Paul
e8fac2ef97
Add example files for text() usage.
...
The test case images are currently not including the text as the example
test run does not include experimental features. This will need to be
updated once the text() feature is not experimental anymore.
2014-07-07 23:28:03 +02:00
Torsten Paul
0a5acbde25
Add test cases for composition and symbol font handling.
2014-07-07 23:28:03 +02:00
Marius Kintel
328fbb9000
Allow slices to be specified independently of twist. Fixes #850
2014-06-26 16:43:12 -04:00
Marius Kintel
c8b4d82d96
Added testcase for #837
2014-06-24 19:22:33 -04:00
Marius Kintel
ccb9495354
Merge branch 'master' into text-escape-sequences
...
Conflicts:
tests/CMakeLists.txt
2014-06-24 18:32:14 -04:00
Torsten Paul
544de72c80
Add test cases for the escape sequences.
2014-06-24 20:09:04 +02:00
Marius Kintel
bbdfe9b706
Make concat() a primary feature (not experimental)
2014-06-23 22:42:11 -04:00
Torsten Paul
86e87e45f9
Use toString() when generating echo() messages ( fixes #838 ).
...
When using the Value << operator, strings are encoded (e.g. a newline
character is encoded as \n), but echo() should output the text as given.
2014-06-23 23:21:16 +02:00
Oskar Linde
38c7a24240
Add test case for issue 835
2014-06-23 10:15:39 +02:00
Marius Kintel
0dd3ac272b
Handle cwd as outputdir
2014-06-21 19:05:50 -04:00
Marius Kintel
e097508472
Link with the correct C++ library on Mac. Added a fix for allowing folder names with regex special characters
2014-06-21 13:34:41 -04:00
Marius Kintel
458d60faa6
Refactored the camera handling a bit, added --viewall cmd-line parameter
2014-06-19 17:47:38 -04:00
Marius Kintel
c6e21a6027
Report boost version, don't add BOOST_FILESYSTEM_VERION for recent boost versions
2014-06-19 17:43:35 -04:00
Marius Kintel
48e1d6a5a9
Allow other files than .scad as input
2014-06-16 21:13:18 -04:00
Marius Kintel
4ef994ac3e
Pass full path to python script
2014-06-16 15:56:36 -04:00
Marius Kintel
e344f7e478
Bugfix - png is the last arg + some better error output
2014-06-16 15:56:07 -04:00
Marius Kintel
d77db77825
Rewrote csg-import-test to be able to export other file formats as well as pass extra parameters to OpenSCAD
2014-06-16 02:41:04 -04:00
Oskar Linde
05e2a1edf1
Mac: Add -stdlib=libc++ to testsuite on 10.9 and later
2014-06-10 02:09:29 -04:00
Marius Kintel
8793fed7db
Merge branch 'master' of github.com:openscad/openscad
2014-06-10 01:40:45 -04:00
Marius Kintel
c1701654fc
#784 bugfix slightly changed twist behavior. Updating test results
2014-06-10 01:40:41 -04:00
Marius Kintel
a7b4f2e5b7
#495 Updated test png to reflect correct behavior
2014-06-10 01:13:36 -04:00
Marius Kintel
3ccce0d7ee
Added testcase for erosions issue
2014-06-09 23:03:33 -04:00
Marius Kintel
7b6153fed8
Updated expected file for #495
2014-06-09 22:48:29 -04:00
Oskar Linde
4aa5ea04d8
Change minkowski 3d png test result from green -> yellow facets
2014-06-03 18:51:29 +02:00
Marius Kintel
ca3ff7cf66
Related to #737 - allow for nbsp (0xc2a0) characters on the cmd-line
2014-05-29 18:22:32 -04:00
Marius Kintel
4ccda0f794
#784 bugfix: Missing conversion to radians
2014-05-28 22:52:21 -04:00
Marius Kintel
22e46762f8
Catch File Exists on makedirs to better support parallel runs
2014-05-28 20:36:40 -04:00
Marius Kintel
38c24fe006
Merge branch 'master' into list-comprehensions
2014-05-25 16:00:10 -04:00
Marius Kintel
6661f9de1c
Testing with fontconfig 2.8
2014-05-24 16:05:05 -04:00
Marius Kintel
481d3754b3
Cleaned up library dependencies
2014-05-24 15:49:46 -04:00
Marius Kintel
357e0beccd
Merge branch 'master' into csg-import-tests
2014-05-23 16:36:07 -04:00
Marius Kintel
8ac0209db5
bugfix: FindGLIB2 didn't clean up properly. added new pkg-config utility functions which can be reused
2014-05-23 16:30:50 -04:00
Marius Kintel
3c9d9a705a
Merge branch 'master' into csg-import-tests
2014-05-22 23:44:41 -04:00
Oskar Linde
694dad5a8b
Added testcases for let and list-comprehensions
2014-05-22 22:58:24 +02:00
Marius Kintel
943e98ae80
Merge branch 'master' into text-module
2014-05-21 16:43:11 -04:00
Marius Kintel
2838795d63
#802 Added test, issue warning instead of crashing
2014-05-21 14:01:12 -04:00
Torsten Paul
c64360d372
Merge branch 'master' into text-module
...
Conflicts:
tests/CMakeLists.txt
2014-05-20 21:36:51 +02:00
Marius Kintel
e64734f8fd
bugfix: Empty import combined with real geometry caused an assert failure
2014-05-19 15:21:43 -04:00
Marius Kintel
e4dd4da818
#791 Handle twist=0 as no twist
2014-05-19 11:49:41 -04:00
Marius Kintel
c601060f82
Put tests in correct test config
2014-05-18 23:20:26 -04:00
Torsten Paul
ee0328df39
Disable inf/nan cases for *.csg import tests.
...
The inf/nan tests fail when exporting CSG and rendering that output again
as currently inf/nan is written directly to the CSG file (e.g. r = inf)
which is not valid or even misleading in case a variable inf exists.
2014-05-18 17:32:14 +02:00
Torsten Paul
84eada804b
Fix CSG output of offset().
2014-05-18 17:32:10 +02:00
Torsten Paul
f74228a029
Add script to test rendering of exported CSG files.
2014-05-18 17:18:41 +02:00
Marius Kintel
ba4d0b0e38
CGAL-4.4 fixed some issues
2014-05-17 18:42:23 -04:00
Marius Kintel
2b744f9512
#541 was fixed during unstable refactoring
2014-05-17 15:34:00 -04:00
Marius Kintel
dfec3b59fc
#593 was fixed by #608
2014-05-17 15:19:26 -04:00
Marius Kintel
b9f75759b7
Issue #582 was fixed sometime during the unstable branch refactoring
2014-05-17 15:11:35 -04:00
Marius Kintel
985d9a2f61
Updated pngs after merging unstable
2014-05-17 13:58:36 -04:00
Marius Kintel
7a709b5e8b
Merge pull request #785 from OskarLinde/vector_min_max
...
Make min() and max() handle vector argument
2014-05-17 11:59:01 -04:00
Marius Kintel
6a0d70033d
Merge pull request #796 from OskarLinde/offset_bugfix
...
Offset bug with delta < 1
2014-05-17 11:57:50 -04:00
Marius Kintel
e931c8ab83
bugfix: Dumptest failed to dump the highlight modifier
2014-05-17 11:53:11 -04:00
Marius Kintel
76e152f300
Moved to the Heavy group
2014-05-17 11:52:42 -04:00
Oskar Linde
5058086837
Tests for min()/max()
2014-05-17 14:50:06 +02:00
Oskar Linde
a886d001ba
Offset bug regression test
2014-05-17 14:22:16 +02:00
Marius Kintel
7952d24915
Merge branch 'master' into categorized_examples
...
Conflicts:
src/MainWindow.h
2014-05-13 00:50:25 -04:00
Marius Kintel
1cb754603b
#786 Added tests
2014-05-12 15:15:06 -04:00
Torsten Paul
6e04d33898
Update test cases.
2014-05-04 00:26:02 +02:00
Torsten Paul
d4afb53fee
Change diff output to use unified diff format to make it easier to read.
2014-05-04 00:13:00 +02:00
Marius Kintel
065789e0d7
Sync two remaining test cases after merging unstable. Fixes #758
2014-04-27 23:21:20 -04:00
Marius Kintel
2cba2a1b55
Merge branch 'master' into text-module
...
Conflicts:
scripts/macosx-build-homebrew.sh
scripts/mingw-x-build-dependencies.sh
scripts/uni-build-dependencies.sh
scripts/uni-get-dependencies.sh
src/GeometryEvaluator.h
src/MainWindow.ui
src/clipper-utils.h
src/mainwin.cc
tests/CMakeLists.txt
2014-04-26 22:08:31 -04:00
Marius Kintel
b9f8c6b77d
Strip color profile from expected images. Makes test work with newer versions of libpng
2014-04-23 02:44:39 -04:00
Don Bright
b5974b5da0
NetBSD build fixes
2014-04-22 17:00:38 +00:00
Marius Kintel
23ac323c88
Strip color profile from expected images. Makes test work with newer versions of libpng
2014-04-21 23:23:25 -04:00
Marius Kintel
296d2824d5
Merge pull request #745 from openscad/contextfixme
...
fix issue #694
2014-04-12 22:32:43 -04:00
Don Bright
0a20e32dc5
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-10 00:28:26 -05:00
Marius Kintel
2a16aa1a4f
Merge branch 'unstable' into contextfixme
2014-04-10 00:07:36 -04:00
Oskar Linde
90e8f70da2
Add regression tests for comparison with NaN
2014-04-08 15:36:12 +02:00
Don Bright
1d9fa45715
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-04-05 15:04:09 -05:00
Don Bright
4ff4744d8d
find imagemagick using windows registry
2014-04-05 15:04:00 -05:00
Don Bright
0d950338e1
fix issue #694
2014-04-04 23:40:23 -05:00
Don Bright
57668f0e03
fix: \" was being replaced with /" ,messing up tests pretty print
2014-04-03 22:38:08 -05:00
Don Bright
e8cb468999
test for issue #703 (polyhedron w undef arguments)
2014-04-02 17:45:25 -05:00
Don Bright
5bb2ab0c76
fixes issue #701 (Handle Debian KFreeBSD)
2014-04-02 17:36:10 -05:00
Don Bright
70dbe2eef7
fix issue #702 (rm test_cmdline_tool executable bit)
2014-04-02 17:12:23 -05:00
Don Bright
61483f53e2
more CTEST_CUSTOM_POST_TEST fixes
2014-04-02 01:45:32 -05:00
Don Bright
d0b5e193b8
deal with ctest CTEST_CUSTOM_POST_TEST argument bugs
2014-04-02 01:44:17 -05:00
Don Bright
5b1cb69f59
better finding of logfile on windows. fix bug in test report gen. make
...
it clear test_pretty_print.exe wont work on cross builds
2014-04-02 01:29:38 -05:00
Don Bright
214870062b
add WinReadme.txt to Windows(TM) test suite package to prevent confusion
2014-04-01 21:52:09 -05:00
Don Bright
1ffda82db0
fix batch file display for filenames with spaces in them
2014-03-31 19:58:01 -05:00
Torsten Paul
e240220c11
Add test case reference files for offset() example025.scad.
2014-03-31 00:23:11 +02:00
Marius Kintel
cf81703751
Merge branch 'unstable' into offset
2014-03-31 00:04:58 +02:00
Marius Kintel
b1f0fb55cd
Updated tests after surface(invert) change
2014-03-31 00:04:49 +02:00
Torsten Paul
5d8507f725
Add test cases for offset().
2014-03-30 23:51:04 +02:00
Don Bright
5bd8cf540d
better search for ctest.exe, better running of batch file message
2014-03-30 15:48:59 -05:00
Don Bright
ebfdec303a
better finding of MCAD under windows(TM) test run. better pretty-print if
...
all tests passed
2014-03-30 15:36:31 -05:00
Don Bright
2b1ab8e1ed
better indicate in report if all tests pass. add 'doc' to test bundle.
2014-03-30 14:57:30 -05:00
Don Bright
8fb483c0ea
make mingwcon.bat work better. improve git error message for test print.
2014-03-30 14:43:22 -05:00
Don Bright
c3a3710cb4
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-03-30 13:07:42 -05:00
Don Bright
753bb285f5
mingw/win(TM) run: find ctest.exe and add to path
2014-03-30 13:01:39 -05:00
Don Bright
97ebae9f78
polish up so its easier to run under Windows(TM)
2014-03-30 12:23:58 -05:00
Marius Kintel
278d5f18e3
Merge pull request #729 from openscad/surface-image
...
Add png support for surface() module (fixes #721 ).
2014-03-30 18:47:30 +02:00
Marius Kintel
0507d3864f
Merge branch 'unstable' of github.com:openscad/openscad into unstable
...
Conflicts:
README.md
scripts/builder.sh
2014-03-30 18:30:02 +02:00
Torsten Paul
6d892a4742
Add png support for surface() module ( fixes #721 ).
2014-03-29 23:22:27 +01:00
Don Bright
90c549ad0a
fix the use of imagemagick convert during cross-built tests.
2014-03-29 13:14:41 -05:00
Don Bright
93eb89c00b
dont show a screen full of 'no such file' errors on failed tests
2014-03-28 23:01:36 -05:00
Don Bright
53a0f9c4cf
MXE cross build of tests: polish the scripts, introduce conversion script
...
for CTest
2014-03-28 22:55:37 -05:00
Don Bright
80b226bbe4
add Tests build for mxe/mingw to release-common. make GLIB2 better for crossbuild
2014-03-28 16:23:23 -05:00
Don Bright
563583ef4b
first stage of moving towards cross-build of test suite for mingw
2014-03-28 16:02:45 -05:00
don bright
7a871202f3
better printing of glib2 include dirs
2014-03-24 03:28:34 +01:00
Don Bright
3e22f8aa4d
debug message
2014-03-23 21:22:45 -05:00
don bright
424dc86cc6
better glib detection (again)
2014-03-24 03:20:28 +01:00
Don Bright
fc78dedfe8
debugging output
2014-03-23 21:14:28 -05:00
Don Bright
6b1079b7b7
better glib2 detection
2014-03-23 21:12:01 -05:00
Marius Kintel
19de4c9d15
Merge branch 'master' into unstable
2014-03-10 10:42:53 -04:00
Marius Kintel
537a03eb18
Only upload failed tests
2014-03-05 23:14:52 -05:00
Marius Kintel
875cbcceaf
Experiment with travis and encoded ssh keys
2014-03-05 20:37:05 -05:00