Commit graph

63 commits

Author SHA1 Message Date
Marius Kintel
9bcab11129 Added OS X build and trusty build to travis config 2016-07-19 15:32:27 -04:00
Marius Kintel
b6eed4b153 Fix: Make crashing tests fail 2015-12-11 12:12:38 -05:00
chrysn
90a660d718 Fix path discovery for fonts
When the path to the openscad binary changed in [1], the relative path
was not changed and therefore led into the void, falling back to system
paths.

[1] https://github.com/openscad/openscad/issues/1362
2015-08-11 16:19:51 +02:00
Chow Loong Jin
211b795326 Add hashbang to test_cmdline_tool.py
Forwarded: no

Gbp-Pq: Name Add-hashbang-to-test_cmdline_tool.py.patch
2015-08-11 11:47:01 +02:00
chrysn
d3494d66b1 add float normalization to test_cmdline_tool
this helps removing the need for OPENSCAD_TESTING
2015-06-04 21:17:27 +02:00
Marius Kintel
0eb91e0549 Ignore leading and trailing whitespace when comparings dumps, makes diffs a lot easier to read 2015-03-12 00:24:27 -04:00
Marius Kintel
d74450eaad Allow pretty print of tests which fail with a non-zero return code 2014-11-05 19:25:05 +04:00
Torsten Paul
4306586adf Set OPENSCAD_FONT_PATH also for the normal test cases.
This was already set for the export/import test cases as the exported
CSG files do not have the use<fontfile> statements. Due to differences
in the glyphs between the Liberation 2.00.1 we ship and the system
installed fonts some test cases (e.g. text_on_cube) did also fail.
2014-11-02 22:18:23 +01: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
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
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
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
22e46762f8 Catch File Exists on makedirs to better support parallel runs 2014-05-28 20:36:40 -04: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
Don Bright
70dbe2eef7 fix issue #702 (rm test_cmdline_tool executable bit) 2014-04-02 17:12:23 -05: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
47ed2f1b12 moving towards making tests work on bsd again 2013-09-21 00:12:42 -05:00
Marius Kintel
7b5cd11cdc bugfix: If the test driver returned an error, it was ignored by the test script 2013-04-05 00:11:48 -04:00
Marius Kintel
be645d8a54 Small generalization of cmd-line test driver. Added tests for image output and camera settings for the OpenSCAD app 2013-03-11 16:12:35 -04:00
don bright
74432b3206 fix for when running under wine. also fix test_pretty_print bug 2013-03-09 09:42:53 -06:00
Marius Kintel
5acc695399 Generalized the test driver a tiny bit 2013-03-08 11:08:36 -05:00
don bright
9896b6f15e first working version of opencsg png export from gui binary
also guiopencsgtest introduced. passes 100% of 'normal' tests
2013-02-24 21:07:37 -06:00
Marius Kintel
4e519078d6 Merge branch 'master' into issue11_2 2013-02-07 13:43:20 -05:00
don bright
1f39090cc0 fix GLU issues caued by mesa split from glu. clarify test error msg 2013-01-31 20:16:28 -08:00
don bright
0c04641aa0 clarify code that enables 'sharing' of expected imgs between test progs 2013-02-01 02:01:31 +01:00
don bright
3b28d9a406 cleanup 2013-01-31 05:02:07 +01:00
don bright
e8a9df55cf test guicgalpngtest against cgalpngtest images. cleanup debugging stuff 2013-01-31 05:00:22 +01:00
Don Bright
e437182c09 add --mingw-cross-env switch to test_cmdline_tool.py 2012-01-03 12:27:03 -06:00
Don Bright
3f1cb83f4b various tweaks for cross compiling tests under mingw 2011-12-31 17:02:34 -06:00
don bright
0ff0d2b68a regression tests: fix ncc==0 false-fails when using NCC image comparison 2011-12-27 21:17:04 -08:00
Marius Kintel
9113cf42d0 Handle missing expected files gracefully 2011-12-21 17:42:11 +01:00
don bright
9a665075c9 update FindBoost from cmake git. improve crash handling + boost finding 2011-12-06 22:36:33 -08:00
don bright
d26effccf4 allow alternate image comparison using option to cmake 2011-12-06 20:20:17 -08:00
Don Bright
61bfb8f058 fix errors with flaky wiki sites. cleanup 2011-12-06 21:48:19 -06:00
don bright
32a3831ce9 alternate comparison for systems where imagemagick convert crashes 2011-12-06 19:15:04 -08:00
Don Bright
8197294d4c Merge branch 'cakebaby' of github.com:donbright/openscad into cakebaby
Conflicts:
	tests/CMakeLists.txt
2011-11-26 12:17:54 -06:00
don bright
14b4ed4b5b Merge remote-tracking branch 'upstream/master' into cakebaby
and tweak tests for win32 run
Conflicts:
	tests/test_cmdline_tool.py
2011-11-26 11:11:55 -06:00
Marius Kintel
7678f0f083 Now uses Imagemagick convert for performing image tests 2011-11-26 02:25:28 +01:00
Marius Kintel
7996b8ed8d don't downsample so aggressively 2011-11-25 05:15:19 +01:00
don bright
aa8d53614a fix stencil code for windows. tweak pretty printer for windows 2011-11-22 22:45:37 -06:00
Don Bright
b6b3e52543 add more info to --info dumps. improve wiki output 2011-11-16 05:58:07 -06:00
Don Bright
ab3a36e76b first version of 'cakebaby' regression testing display program 2011-11-09 00:46:39 -06:00
Marius Kintel
0c0b261e40 Increased threshold to 300 to avoid minor details from failing a test 2011-10-27 16:18:37 +02:00
don bright
6b495672db remove experimental html output debug code. 2011-10-24 22:44:16 -05:00
Marius Kintel
790c9a1925 Increase pixel diff threshold 2011-10-16 18:08:34 +02:00
don bright
7735f5510c opencsgtest and throwntogethertest windows fix 2011-10-15 23:44:21 -05:00
don bright
e79ee82718 fix text tests for windows + enable framebuffer tests 2011-10-15 22:59:54 -05:00
don bright
33da91d87d make yee_compare downsample images, reduce false-negatives and increase speed 2011-10-10 00:45:53 -04:00