Commit Graph

55 Commits (a512a6442e48958d1b8ec1c4a05974f64aa23cb4)

Author SHA1 Message Date
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
Don Bright a2e093c2f1 separate throwntogethertest and opencsgtest
create 'expected' images for throwntogethertest
create imgdiff_fail html file generation
2011-09-21 20:11:01 -05:00
Don Bright 0b219ae4b4 opencsg testing 2011-09-18 17:53:33 -05:00
Don Bright 6d70855a4d added png and image comparison, enabling testing on linux 2011-09-17 16:13:37 -05:00
Marius Kintel b9608dd2f8 Implemented rudimentary image compare for OpenCSG regression tests 2011-08-05 03:48:35 +02:00
Marius Kintel a248852f6c Make it possible to run the tests without and -expected file 2010-10-31 02:42:39 +02:00
Marius Kintel 6536184759 tag the output dir to avoid collision with executable name 2010-10-31 02:42:39 +02:00
Marius Kintel d172c353a2 Test should fail if cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel f2323c78b3 Better error output when cmd is not found 2010-10-31 02:42:38 +02:00