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
2021-02-11Mesh automated testing: compare selectionHabib Gahbiche
MeshTest now compares selection between evaluated mesh and expected mesh. This way, we can test more operators such as `faces_select_linked_flat` Note: selection comparison intentionally does not happen in BKE_mesh_cmp() on C side but rather on Python side, because selection is independent of mesh generation. Reviewed By: calra, mont29 Differential Revision: https://developer.blender.org/D10279
2021-02-11Mesh automated testing: improve progress printingHabib Gahbiche
Print number of total tests with each test to show how many tests have been executed and how many are left. Example: `Running test 27/36: PlaneFaceSplitByEdges...` Reviewed By: calra, mont29 Differential Revision: https://developer.blender.org/D10278
2021-02-11Cleanup: delete comments with test indexHabib Gahbiche
Tests are not identified with indexes, so no need to maintain comments with indexes anymore Reviewed By: calra, mont29 Differential Revision: https://developer.blender.org/D10277
2021-01-14Tests: enable bake and shader raytracing tests for OptiXBrecht Van Lommel
These are now supported and so can be tested. Also refactor the code a bit to move Cycles specific blacklist out of generic render test code.
2020-12-30Cleanup: Fix typo in tests error messageHans Goudey
2020-12-17Updated and extended Regression Testing frameworks (Gsoc 2020)Himanshi Kalra
This revision contains the following changes- - Updated the existing testing framework for Modifiers for Regression Testing. - Tests for Physics modifiers and remaining Generate and Deform modifiers are added. - The existing `ModifierSpec` is updated with backward compatibility to support Physics Modifiers. - Now there is support for frame number and giving nested parameters for attributes. - Some Deform modifiers required Object Operators, e.g. "Bind" in Mesh Deform, so a new class was added to support that functionality. - A separate class for holding Particles System, they are tested by converting all the particles to mesh and joining it to the mesh they were added. - Updated the format to add tests for Bevel, Boolean and Operators as well. Reviewed By: zazizizou, mont29, campbellbarton Differential Revision: https://developer.blender.org/D8507
2020-11-30Tests: blacklist failing tests for Cycles CUDA and OptiX devicesBrecht Van Lommel
Blacklist a bunch of tests on the GPU, which are known to currently have differences with CPU. These can be enabled as they are fixed or the test is modified to give compatible results when there are known limitations. OSL tests were also moved to their own directory since those are not supported on the GPU. Ref T82193
2020-11-30Tests: add CMake option to run Cycles regression tests on GPU devicesBrecht Van Lommel
CYCLES_TEST_DEVICES is a list of devices (CPU, CUDA, OPTIX, OPENCL). It is set to CPU only by default. Test output is now writen to build/tests/cycles/<device>, and the HTML report has separate report pages for the different devices, with option to compare between CPU and GPU renders. Various GPU tests are still failing due to CPU/GPU differences, these are to be fixed or blacklisted still. Ref T82193
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-08-26Tests: fail automated tests on memory leaks and other internal errorsJacques Lucke
This adds a new `--debug-exit-on-error` flag. When it is set, Blender will abort with a non-zero exit code when there are internal errors. Currently, "internal errors" includes memory leaks detected by guardedalloc and error/fatal log entries in clog. The new flag is passed to Blender in various places where automated tests are run. Furthermore, the `--debug-memory` flag is used in tests, because that makes the verbose output more useful, when dealing with memory leaks. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D8665
2020-08-05Fix T78777: Cycles motion blur test differences between AVX/AVX2Brecht Van Lommel
This appears to be slight precision differences in the Embree implementation, simply increase the diff threshold a little for these motion blur tests.
2020-04-28Tests: add physics tests cloth and softybodyHimanshi Kalra
This uses the same framework as automated modifier tests. It adds a physics modifier, bakes and compares vertex coordinates on the end frame. Differential Revision: https://developer.blender.org/D7017
2020-04-28Strengthen modifiers test validation, from D7397.Howard Trickey
Submitting on behalf of Jesse Y (deadpin). In test harness for modifier testing, now run mesh validation on output mesh. Also, fix printing so it interleaves properly.
2020-02-18Fix Cycles fluid motion blur not working after recent refactorBrecht Van Lommel
This also re-enables the fluid motion blur test.
2020-01-27Fix tests failing when building without CyclesBrecht Van Lommel
The purpose of this line was to not use Blender Internal and associated old materials, now either Eevee or Cycles is fine.
2020-01-13Accepting patch D5357: Modifiers and operators automated testing.Howard Trickey
Patch from Habib Gahbiche (zazizizou) moves the "run operator and compare mesh to a golden" paradigm used in bevel and boolean tests into a general framework that separates the test specs from the blend files. Then adds some other operator and modifier tests using the new framework. Diff D5357.id20724.diff was applied. New .blend files, modifiers.blend and operators.blend are needed in the tests/modeling svn directory; those were separately committed.
2020-01-09Cycles: Disable fluid motion blur regression testSergey Sharybin
There are deeper issues than just updating the regression test .blend file and the solution is dragging for far too long. Considering this a known broken feature, which will either be fixed next week or completely removed from the interface for the coming release.
2019-08-26Fix render test Python error on crashesBrecht Van Lommel
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-06-27Tests: speed up render tests by running multiple in the same processBrecht Van Lommel
Blender startup time and shader compilation is a big factor when running hundreds of tests, so now all renders in the same ctest run in the same process. This was previously reverted due to skipping other tests when one test crashed. Now if a test crashes, Blender is re-run with the remaining tests so we get results from them still.
2019-06-26Tests: add navigation links for HTML test reports, and other tweaksBrecht Van Lommel
2019-05-16Revert "Tests: speed up render tests by running multiple in the same process"Brecht Van Lommel
This makes finding the crashing tests harder, reverting until there is a better solution. This reverts commit 93901e7f0a05ba471f3b4c0201500d9dfcd68c2c.
2019-05-11Tests: speed up render tests by running multiple in the same processBrecht Van Lommel
Blender startup time and shader compilation is a big factor when running hundreds of tests, so now all renders in the same ctest run in the same process. If a test crashes, the remaining tests in the same category will be marked as skipped. Benchmarked on a quad core with ctest -j8. cycles: 118.1s -> 94.3s eevee: 66.2s -> 29.2s workbench: 31.7s -> 8.6s
2019-05-09Tests: add tests/report.html that links to all HTML test reportsBrecht Van Lommel
Currently this is for Cycles, Eevee and workbench tests.
2018-11-26Cleanup: unused vars, importsCampbell Barton
2018-10-09Merge branch 'master' into blender2.8Campbell Barton
2018-10-08Cleanup: styleCampbell Barton
2018-10-06Tests: Support parallel execution of render testsLukas Stockner
Previously, parallel tests would overwrite each others temporary outputs.
2018-09-28Merge branch 'master' into blender2.8Sergey Sharybin
2018-09-28Tests: recurse into directories for finding OpenGL draw test .blends.Brecht Van Lommel
2018-07-03Merge branch 'master' into blender2.8Campbell Barton
2018-07-03Cleanup: pep8Campbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip tests trailing spaceCampbell Barton
2018-05-18Cycles/Eevee tests: add compare.html to see difference between the engines.Brecht Van Lommel
2018-05-18Eevee: add regression tests.Brecht Van Lommel
This adds Eevee render tests using the Cycles files. Currently it must be enabled by setting WITH_OPENGL_RENDER_TESTS=ON. Once we have reference images we can enable it by default. Some of the Cycles and Eevee tests are also currently broken due to modifier and particle changes. Differential Revision: https://developer.blender.org/D3182
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-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