Commit Graph

460 Commits (b3737d96c2923d4367494ca218835dfd8694b9d0)

Author SHA1 Message Date
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
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 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 0a5acbde25 Add test cases for composition and symbol font handling. 2014-07-07 23:28:03 +02: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
Oskar Linde 38c7a24240 Add test case for issue 835 2014-06-23 10:15:39 +02: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 4ef994ac3e Pass full path to python script 2014-06-16 15:56:36 -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 3ccce0d7ee Added testcase for erosions issue 2014-06-09 23:03:33 -04: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 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
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 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 f74228a029 Add script to test rendering of exported CSG files. 2014-05-18 17:18:41 +02: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 76e152f300 Moved to the Heavy group 2014-05-17 11:52:42 -04:00
Torsten Paul 6e04d33898 Update test cases. 2014-05-04 00:26:02 +02: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
Don Bright b5974b5da0 NetBSD build fixes 2014-04-22 17:00:38 +00:00
Don Bright 0d950338e1 fix issue #694 2014-04-04 23:40:23 -05:00
Don Bright 5bb2ab0c76 fixes issue #701 (Handle Debian KFreeBSD) 2014-04-02 17:36:10 -05:00
Torsten Paul 5d8507f725 Add test cases for offset(). 2014-03-30 23:51:04 +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 563583ef4b first stage of moving towards cross-build of test suite for mingw 2014-03-28 16:02:45 -05:00
Don Bright 6b1079b7b7 better glib2 detection 2014-03-23 21:12:01 -05:00