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
path: root/tests
AgeCommit message (Collapse)Author
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-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
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-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
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.
2018-01-19Cleanup: typosCampbell Barton
2018-01-17Memory: add MEM_malloc_arrayN() function to protect against overflow.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3002
2017-12-19Cycles tests: Enable texture space testsSergey Sharybin
2017-11-23Add a new parallel looper for MemPool items to BLI_task.Bastien Montagne
It merely uses the new thread-safe iterators system of mempool, quite straight forward. Note that to avoid possible confusion with two void pointers as parameters of the callback, a dummy opaque struct pointer is used instead for the second parameter (pointer generated by iteration over mempool), callback functions must explicitely convert it to expected real type. Also added a basic gtest for this new feature.
2017-11-02Alembic: not using global in unit test.Sybren A. Stüvel
Thanks @sergey for pointing out this fix.
2017-10-29Alembic: exporting MetaBalls as meshSybren A. Stüvel
- Only basis balls are exported, as they represent the resulting mesh. As a result the mesh is written to Alembic using the name of the basis ball. - MetaBalls are converted to a mesh on every frame, then an AbcMeshWriter is used to write that mesh to Alembic.
2017-10-29BLI_heap: add validation check, improve testsCampbell Barton
Also minor readability changes, avoid running both heap_up/down gives minor speedup too.
2017-10-29BLI_heap: minor changes to the APICampbell Barton
Recent addition of 'reinsert' didn't match logic for ghash API. Rename to BLI_heap_node_value_update, also add BLI_heap_insert_or_update since it's a common operation.
2017-10-28BLI_hash: add BLI_heap_reinsertCampbell Barton
Allows avoiding remove/insert calls.
2017-10-28GTest: initial BLI_heap testCampbell Barton
2017-10-26Using gtest fixtures in Alembic export testsSybren A. Stüvel
2017-10-23Correct gtest error in recent beautify changeCampbell Barton
2017-10-22Polyfill Beautify: half-edge optimizationCampbell Barton
Was using an edge hash for triangle -> edge lookups, updating triangle indices for each edge-rotation. Replace this with half-edge which can rotate edges much more simply, writing triangles back once the solution has been calculated. Gives ~33% speedup in own tests.
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-20BLI_polyfill2d_test: script to generate test dataCampbell Barton
2017-09-19Fix T52834: Polyfill2D fails with co-linear edgesCampbell Barton
2017-09-19BLI_polyfill2d_test: add test for T52834Campbell Barton
Commented since it currently fails.
2017-09-19BLI_polyfill2d_test: Try flipped x/y axisCampbell Barton
In T52834 this makes a difference.
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
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-27Missing from last commitCampbell Barton
2017-08-27Cleanup: use stubs for eigen gtestCampbell Barton
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.