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
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.
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-08Fix compilation error when building without BlenderSergey Sharybin
Simply disabled python tests, they can't be run anyway (since blender target is not enabled) and we don't have any player-related tests in that folder.
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-07-03Fixed build error on Windows / VS2015Sybren A. Stüvel
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-14Make whole ID copying code use const source pointer.Bastien Montagne
Noisy change, but safe, and better do it sooner than later if we are to rework copying code. Also, previous commit shows this *is* useful to catch some mistakes.
2017-06-12Cleanup: indentation, long linesCampbell Barton
2017-06-12Correct gtest EXPECT useCampbell Barton