Commit Graph

1284 Commits (master)

Author SHA1 Message Date
Miro Hrončok a23d463020 Test case for #990 2014-10-21 11:52:46 +02:00
Torsten Paul 6cd441e0f1 Port translation code to use resource path from PlatformUtils. 2014-10-19 01:43:45 +02:00
Torsten Paul afd52b3075 Fix compilation of test cases. 2014-10-19 01:25:23 +02:00
Marius Kintel d20e1efbbd doc 2014-10-13 23:13:48 -04:00
Marius Kintel 1bd15b45a6 #964 another testcase 2014-10-13 22:33:33 -04:00
Marius Kintel 1121c96a11 #964 Added testcases 2014-09-30 19:38:43 -04:00
Marius Kintel f98d565714 Use python's difflib instead of calling the diff cmd. Fixes issue where diff isn't always available on Windows. Fixed #960 2014-09-23 12:36:27 -04:00
Marius Kintel cf8844c19d Added testcase for #947 2014-09-15 18:41:30 -04:00
Marius Kintel 771f764533 Use --render=cgal in export-import tests, added testcase for #936 2014-09-04 17:36:52 -04:00
Marius Kintel f15a177132 Added expected files for #904 2014-09-04 14:43:34 -04:00
Marius Kintel edded0f69d Bugfix: Added missing code for properly comparing booleans 2014-08-26 14:52:22 -04:00
Marius Kintel 95ed3141fd #899 tagged failing test as a bug, added minimal test case 2014-08-24 18:06:19 -04:00
Marius Kintel 39fc1faee5 #584 updated expected image 2014-08-21 01:17:54 -04:00
Marius Kintel 8359c4ad6f #913 updated testcase result 2014-08-21 01:14:17 -04:00
Marius Kintel 54b9c90aef #913 Updated test cases 2014-08-21 00:19:35 -04:00
Marius Kintel 04ac48f21c #913 added testcase 2014-08-20 11:11:18 -04:00
Marius Kintel de6bcb1786 small reorg of cgalutils namespace 2014-08-19 22:02:08 -04:00
Marius Kintel 4f4bf2b0b8 #911 updated test image 2014-08-19 13:14:52 -04:00
Marius Kintel 377811123b #911 Added testcase 2014-08-18 20:03:26 -04:00
Marius Kintel 426d5b9de0 Added missing expected files, disabled export test added by mistake 2014-08-18 19:15:32 -04:00
Marius Kintel 4a1962cb84 #112 Updated test images, added export tests 2014-08-18 15:39:01 -04:00
Marius Kintel ce3b403c9b #337 Added more corner case tests from previous bugs 2014-08-18 01:50:33 -04:00
Marius Kintel e975ac3808 #337 Added more export tests, added failing export tests, handle 2D examples, added empty-union test 2014-08-17 16:06:25 -04:00
Marius Kintel ac22552b84 Added correct expected image 2014-08-17 16:02:00 -04:00
Marius Kintel 2631cf6430 Merge pull request #873 from openscad/builtin-chr
Built-in chr()
2014-08-17 12:44:29 -04:00
Marius Kintel be845d6444 #587 Reorganized some tests to better distinguish between 2D and 3D tests. Added DXF export tests 2014-08-17 11:17:35 -04:00
Marius Kintel c01ea899f1 Missed tagging of lwpolyline tests as 2D 2014-08-15 14:46:22 -04:00
Marius Kintel 97512818cf Missed tagging of projection-cut-tests as 2D 2014-08-15 14:41:50 -04:00
Marius Kintel 99fb4ecb34 Use the same test results for all STL/OFF export-import tests 2014-08-15 13:22:01 -04:00
Marius Kintel 49749da7dd Updated expected image to pass DIFFPNG tests 2014-08-15 13:01:23 -04:00
Marius Kintel 134a1b9706 Removed duplicate DIFFPNG section 2014-08-15 12:12:50 -04:00
Marius Kintel 5133984202 new test results 2014-08-14 17:17:18 -04:00
Marius Kintel e70bc04197 Colormap functionality from pull request #816, mostly by Don Bright, includes new colormaps by shaina 2014-08-14 17:16:24 -04:00
Marius Kintel ab62050727 Merge pull request #886 from openscad/fix-recursive-include
Fix recursive include handling by using canonical path (fixes #885).
2014-08-09 22:28:27 -05:00
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
Marius Kintel 8635e94166 Updated tests after fixing #678 2014-03-02 23:31:36 -05:00
Marius Kintel ab6192e465 Merge branch 'master' into unstable
Conflicts:
	src/openscad.cc
	src/printutils.h
2014-03-02 22:41:05 -05:00
Marius Kintel e1623ab3e0 Merge branch 'master' into unstable 2014-02-23 15:49:50 -05:00
Marius Kintel bab951b344 Merge branch 'master' into unstable
Conflicts:
	src/CGALEvaluator.cc
	src/MainWindow.h
	src/MainWindow.ui
	src/import.cc
	src/mainwin.cc
	src/winconsole.c
	tests/CMakeLists.txt
2014-02-23 15:49:26 -05:00
Marius Kintel 3ac8895d7a Enable experimental features only for snapshot builds 2014-02-23 15:47:26 -05:00
Marius Kintel e9ace30cca Print error message if upload fails 2014-02-22 20:00:29 -05:00
Marius Kintel 3e6f659990 Added failing test for #666 2014-02-20 01:04:04 -05:00
Don Bright ccc782e39c fix failing tests per comments on github, make slightly more robust 2014-02-19 05:26:19 -06:00
Don Bright 7b7a76a364 Merge branch 'master' of github.com:openscad/openscad into issue235 2014-02-17 20:34:53 -06:00
Marius Kintel 36cd62db80 Simple test of -D cmd-line parameter 2014-02-17 21:04:37 -05:00
Marius Kintel 09e2f1116f mac build fix: correctly link Cocoa to core libraries 2014-02-17 21:00:32 -05:00
Don Bright 6326aab677 fix issue #235 2014-02-17 14:19:12 -06:00
Torsten Paul 12b115e4b0 Add cross() function to calculate vector cross product. 2014-02-16 23:04:48 +01:00
Torsten Paul 990e2a472b Add test cases for norm(). 2014-02-16 22:47:55 +01:00
Marius Kintel 57ac24013e Added testcase for #112 2014-02-11 01:04:49 -05:00
Marius Kintel 716d8a7ab3 Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object 2014-02-06 00:50:00 -05:00
Marius Kintel 92017ded7a Merge pull request #637 from OskarLinde/projection_bug
Projection bug
2014-02-05 23:42:31 -05:00
Oskar Linde 013d2722da Test: verify winding order of holes with projection(cut=true) 2014-02-05 14:08:22 +01:00
Marius Kintel cf1fa4b57b Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object 2014-02-04 23:49:10 -05:00
Torsten Paul 6c84515275 Add positional parameters for text().
Positional parameters are t, size, font.

Example: text("OpenSCAD", 30, "Liberation Mono");
2014-02-04 19:10:16 +01:00
Marius Kintel 17dc062904 csgtermtest output has changed after refactoring 2014-02-03 23:33:14 -05:00
Marius Kintel 360622109a We changed how we interpret intersections in dxf. This is a marginal use-case, so we dropped backwards compatibility 2014-02-03 23:10:29 -05:00
Marius Kintel 85fae69ca6 Pass --enable=text to text tests 2014-02-02 19:49:45 -05:00
Torsten Paul 1c2cb2dde9 Move main text test cases to the heavy set and introduce a simple test. 2014-02-02 18:01:08 -05:00
Torsten Paul dc16918beb Force pkg-config to look in the local library folder.
Setting both PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR should
force pkg-config to ignore system installed libraries. We
only want it to find locally compiled dependencies if the
variable OPENSCAD_LIBRARIES is set.
2014-02-02 18:00:45 -05:00
Torsten Paul afca09729a Add test cases for text alignment and text direction. 2014-02-02 18:00:45 -05:00
Torsten Paul a994d4b750 Add first set of test cases for text(). 2014-02-02 18:00:44 -05:00
Torsten Paul bb45e7e52a Add implementation of text() module. 2014-02-02 18:00:44 -05:00
Marius Kintel cf7c24232e Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-02 01:01:20 -05:00
Marius Kintel c59fa49693 Merge pull request #611 from OskarLinde/minkowski2_bug
Minkowski2 bug
2014-02-01 18:48:54 -08:00
Marius Kintel 56a2d0fff6 Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-01 17:55:17 -05:00
Marius Kintel 072c3a3059 Simplified and renamed test related to #612 2014-02-01 17:53:47 -05:00
Marius Kintel fa398e1501 Merge branch 'master' into unstable 2014-02-01 14:14:02 -05:00
Oskar Linde 37aa801c46 Add some additional minkowski2d test cases 2014-02-01 16:17:56 +01:00
Oskar Linde 9a66954003 Add a testcase for a bug with self-intersecting polygon outline 2014-02-01 16:14:59 +01:00
Marius Kintel 0d1e978baa Merge branch 'unstable' into nullgl 2014-02-01 00:35:29 -05:00
Don Bright 0308a2c896 build on system without OpenGL. do cmake .. -DNULLGL=1 2014-01-30 18:21:32 -06:00
Marius Kintel 0600d80046 Moved special handling of intersection to ClipperUtils 2014-01-27 23:25:33 -05:00
Oskar Linde b05eb736a0 Regression test for 2D intersection() operation 2014-01-27 16:21:44 +01:00
Tim V. Shaporev b3a946bd92 fixup issue 593 2014-01-25 18:43:33 +04:00
Marius Kintel 33ab1fd9e4 Merge branch 'master' into unstable
Conflicts:
	tests/regression/throwntogethertest/difference-tests-expected.png
2014-01-24 18:18:20 -05:00
Torsten Paul 1212e2ba7c Handle NaN / +Inf / -Inf in range evaluation (fixes #606). 2014-01-24 20:52:04 +01:00
Marius Kintel 9d55e33b36 Updated forgotten test results related to commit 34ae2b8f68 2014-01-24 13:12:27 -05:00
Marius Kintel faf1e2a3a5 bugfix: 2D minkowski was slightly broken; only one child and >2 children didn't work correctly 2014-01-19 12:27:11 -05:00
Marius Kintel 8a5c8e35ce Merge branch 'master' into issue527 2014-01-19 12:18:32 -05:00
Marius Kintel 556040439e Added test of minkowski2 with >2 children 2014-01-19 12:18:09 -05:00
Marius Kintel 59fca2674a Merge branch 'master' into issue527
Conflicts:
	tests/regression/cgalpngtest/minkowski2-tests-expected.png
	tests/regression/opencsgtest/minkowski2-tests-expected.png
	tests/regression/throwntogethertest/minkowski2-tests-expected.png
2014-01-18 18:31:06 -05:00
Marius Kintel 87231f3134 Added tests for minkowski with only one child 2014-01-18 18:29:35 -05:00
Marius Kintel 696f2d5182 Adjusted some Heavy tests 2014-01-15 23:53:23 -05:00
Marius Kintel e7b62b4088 Merge branch 'master' into issue527
Conflicts:
	src/CGALEvaluator.cc
2014-01-15 22:34:49 -05:00
Marius Kintel bf0d9edf38 Change behavior of intersection: intersecting something with an empty object will be empty 2014-01-15 22:23:50 -05:00
Marius Kintel 5c57ed41e7 Added test for empty geometry 2014-01-15 19:24:38 -05:00
Marius Kintel 0f2853895a Merge branch 'master' into issue527 2014-01-13 23:08:56 -05:00
Marius Kintel 7af6922829 Updated tests to account for modifiers inside AbstractPolyNodes 2014-01-13 23:07:56 -05:00
Marius Kintel 0ea3c831dd Merge branch 'issue527' of github.com:openscad/openscad into issue527 2014-01-13 22:24:21 -05:00
Marius Kintel c2673d4ff0 Updated tests for minkowski2 with holes 2014-01-13 22:24:13 -05:00
Marius Kintel c680540ea2 Merge branch 'master' into issue527
Conflicts:
	src/primitives.cc
2014-01-13 21:34:51 -05:00
Marius Kintel 34ae2b8f68 Testcase and fix for a problem transforming an empty bbox with very small numbers in a transformation matrix 2014-01-13 20:57:49 -05:00
Marius Kintel 23b04c3a9f bugfix: division by zero can cause malformed primitives 2014-01-13 20:49:55 -05:00
Marius Kintel fc8096acac Merge branch 'issue527' of github.com:openscad/openscad into issue527
Conflicts:
	src/GeometryEvaluator.cc
	tests/CMakeLists.txt
2014-01-12 19:41:34 -05:00
Marius Kintel e0e0319ec6 Added and updated tests for minkowski2 with holes 2014-01-12 19:39:20 -05:00
Marius Kintel f57ceae58d Removed old reference to clipper 2014-01-09 02:06:38 -05:00
Marius Kintel acace4606b hull-of-hull bug: bugxi and test for exposing it 2014-01-09 02:06:38 -05:00
Marius Kintel 4fd13fcac2 adjusted test results 2014-01-09 02:06:38 -05:00
Marius Kintel 03036b91f8 Updated import_stl-tests: Added subtraction from not found file 2014-01-09 02:06:37 -05:00
Marius Kintel 24986eec91 Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues 2014-01-09 02:06:37 -05:00