Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-05-18Cycles tests: move to render/ folder, to share with Eevee.Brecht Van Lommel
2018-04-16Disable Feature Collada: Tests do not work on unixGaia Clary
The tests as they are now make string comparisons. This only works on Windows because the reference files look different for different operating systems because of different number formatting. The collada tests need a complete rework (wip)
2018-03-12Cycles: reorganize tests in more evenly distributed groups.Brecht Van Lommel
2018-03-09FFmpeg: Add regression testsSergey Sharybin
Currently only covering handful of files from reports about wrong fps detected. It will need D3083 applied first to get tests passed, also tests themselves are to be committed to svn. But there are some python code which needs to be reviewed, like blendfile passed to run_blender(). Reviewers: sybren, mont29 Reviewed By: sybren, mont29 Subscribers: mont29 Differential Revision: https://developer.blender.org/D3096
2018-03-02Tests: Avoid access globals from abstract base classSergey Sharybin
Delegate functionality to subclasses, assert when subclasses didn't do job the are supposed to do. Thanks Sybren for pointing to a proper solution.
2018-03-01Python tests: Split re-usable test related functionality to a moduleSergey Sharybin
The idea is to avoid re-implementing this for an upcoming FFmpeg tests.
2018-02-27Collada: Added tests for Animation exportGaia Clary
2018-02-26optimized the output of the collada test script for better readingGaia Clary
2018-02-24T45687: Rework the Export/Import of AnimationsGaia Clary
This started with a fix for an animated Object Hierarchy. Then i decided to cleanup and optimize a bit. But at the end this has become a more or less full rewrite of the Animation Exporter. All of this happened in a separate local branch and i have retained all my local commits to better see what i have done. Brief description: * I fixed a few issues with exporting keyframed animations of object hierarchies where the objects have parent inverse matrices which differ from the Identity matrix. * I added the option to export sampled animations with a user defined sampling rate (new user interface option) * I briefly tested Object Animations and Rig Animations. What is still needed: * Cleanup the code * Optimize the user interface * Do the Documentation Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D3070
2018-02-16Code cleanup: deduplicate code for running Python scripts outside Blender.Brecht Van Lommel
2018-02-16Tests: add OpenGL UI drawing tests.Brecht Van Lommel
This reuses the Cycles regression test code to also work for OpenGL UI drawing. We launch Blender with a bunch of .blend files, take a screenshot and compare it with a reference screenshot, and generate a HMTL report showing the failed tests and their differences. For Cycles we keep small reference renders to compare to in svn, but for OpenGL developers currently have to generate the references manually. How to use: * WITH_OPENGL_DRAW_TESTS=ON in CMake * BLENDER_TEST_UPDATE=1 ctest -R opengl_draw * .. make code changes .. * ctest -R opengl_draw * open build_dir/tests/opengl_draw/report.html Differential Revision: https://developer.blender.org/D3064
2018-02-16Tests: split off render report test code from Cycles tests.Brecht Van Lommel
This renames test environment variables from CYCLESTEST_* to BLENDER_TEST_*. Differential Revision: https://developer.blender.org/D3064
2018-02-14Cleanup: use prefix for testsCampbell Barton
Allows for running all `bmesh_*` or `object_*` tests.
2018-02-12Add boolean regression test.Howard Trickey
2018-02-08Cycles tests: separate directory for sss tests.Brecht Van Lommel
2018-01-26Tests: replace os.system w/ subprocess.callCampbell Barton
Saves on process creation and avoids being tripped up by command line parsing. Based on D2967 by @ldo with edits.
2017-12-19Cycles tests: Enable texture space testsSergey Sharybin
2017-10-17Added alpha channel check to Alembic unit testSybren A. Stüvel
It was broken due to 823bcf1689a3dbd44dd77b2c8ea46b9b54073c46, which added alpha information and thus changed tuple size from 3 to 4 items.
2017-10-11Cycles tests: Don't proint braces for empty statusSergey Sharybin
2017-09-20Fix Cycles test report not closing files properly.Brecht Van Lommel
2017-09-12Cycles tests: Add baking features testsSergey Sharybin
2017-09-12Cycles tests: add environment variable to update references renders.Brecht Van Lommel
This will copy new renders over references renders: CYCLESTEST_UPDATE=1 ctest -R cycles
2017-08-30Cycles: Add tangent attribute testsSergey Sharybin
2017-08-26[cycles/ctest] fix failing tests when output folder doesn't exist yet.Ray Molenkamp
2017-08-23Tests: fix incorrect check for hidden dirCampbell Barton
Copy-pasted mistake in tests and tools.
2017-08-19Cycles tests: pass Blender custom arguments from CYCLESTEST_ARGS.Brecht Van Lommel
This is useful for testing with different devices, split kernel, OSL, impact of integrator settings, etc.
2017-08-18Cycles tests: add light type tests.Brecht Van Lommel
2017-08-18Cycles tests: make page less wide, use relative URLs for serving through http.Brecht Van Lommel
2017-08-11Cycles tests: Draw images on top of checkerboardSergey Sharybin
This way it's easier to see alpha-channel only images, such as shadow catcher images on transparent film.
2017-08-11Cycles: add denoising tests, keep new image even if no reference exists.Brecht Van Lommel
2017-08-09Fixed Alembic unit testSybren A. Stüvel
Commit b6d7cdd3cee9312156e20783248a3b12420b7a53 changed how the mesh data is deformed, which wasn't taken into account yet in this unit test. Instead of directly reading the mesh vertices (which aren't animated any more), we convert the modified mesh to a new one, and inspect those vertices instead.
2017-08-09Modules test: Don't print backtrace for files which are ignoredSergey Sharybin
This could make output really polluted, where it'll be hard to see actual issues. It is still possible to have all backtraces printed using BLENDER_VERBOSE environment variable.
2017-08-07Cycles tests: CMake side changes to support recent files split in the SVN repoSergey Sharybin
2017-08-07Cycles: add HTML report to inspect failed test images.Brecht Van Lommel
Shows new, reference and diff renders, with mouse hover to flip between new and ref for easy comparison. This generates a report.html in build_dir/tests/cycles, stored along with the new and diff images. Differential Revision: https://developer.blender.org/D2770
2017-08-04CMake: test build configuration supportCampbell Barton
D2765 by @akitula
2017-08-01Tweak multi-units tests to match new precision handling in conversion from ↵Bastien Montagne
raw value to prety-printed one. Note that new code allows to enable again the '1 million miles' tests.
2017-07-25Python module test: Don't cfail the test when import failure happens in presetSergey Sharybin
2017-07-14Fix unit test error on WindowsSybren A. Stüvel
2017-07-11Fix T52022 Alembic Inherits transform not taken into accountSybren A. Stüvel
Alembic's "inherits transform" flag wasn't taken into account when constructing the parent object relations.
2017-06-19Alembic tests: make failures a bit easier to diagnose.Sybren A. Stüvel
2017-06-19Fix T51762: Unit test script_alembic_import is failing.Sybren A. Stüvel
Implemented workaround for use with the legacy depsgraph.
2017-06-19Fixed bl_load_py_modules / script_load_modules unit testSybren A. Stüvel
It tried to assert that addons/io_blend_utils/blender_bam-unpacked.whl/__init__.py was loaded when the io_blend_utils module was imported. However, this happens only on demand, and not directly when importing the add-on.
2017-06-19Use for/else instead of setting 'ok' variable.Sybren A. Stüvel
This is more efficient, and this use case is exactly what the else clause is for.
2017-06-19Removed trailing spacesSybren A. Stüvel
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-08Cleanup: cmake indentation, missing includeCampbell Barton
2017-06-05Fix alembic tests not running with debug build on windowsRay Molenkamp
2017-05-26Add automated ctest for complex merge in Array modifier.Bastien Montagne
See also T50851.
2017-05-23Fix T51534: Alembic: added support for face-varying vertex coloursSybren A. Stüvel
Houdini writes vertex data in a different format than Blender does; Houdini uses "face-varying scope", which means that the vertex colours are indexed by an ever-increasing number over all vertices of all faces instead of the vertex index. I've also merged the read_custom_data_mcols() and read_mcols() functions, because the latter was only called from the former, and the changes in this commit would add yet more function parameters to pass.
2017-04-28Fix T51331: fixes for Alembic unit tests on WindowsSybren A. Stüvel