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
2019-10-28CMake: add missing headers, use space before commentsCampbell Barton
2019-09-07Fix GTests failing on Windows buildbotBrecht Van Lommel
Run these tests from the install directory so they can find dlls.
2019-09-07Tests: run tests from install pathBrecht Van Lommel
Blender can only be run correctly from the install path since it requires Python scripts, dynamic libraries and other files to be present. By default the install path is the same as the build path, so it works anyway. But on the buildbot it isn't. There was a workaround but it failed on Windows and macOS. Now tests run from the install path. Detecting that path for ctest is more complicated than I would like, but I couldn't find a better solution. Ref T69541.
2019-08-30Cleanup: remove debug printBrecht Van Lommel
2019-08-30Tests: reorder render tests so cycles/eevee/workbench are not interleavedBrecht Van Lommel
2019-08-02Tests: also don't fail on memory leaks for gtestsBrecht Van Lommel
2019-08-02Fix broken add_python_test after recent changesBrecht Van Lommel
2019-08-02Tests: don't fail on leaks detected by leak sanitizerBrecht Van Lommel
These often happen in external libraries that we can't fix. The leaks are still printed in the logs.
2019-08-02Cleanup: refactor tests executing Blender to use add_blender_test functionBrecht Van Lommel
2019-07-31Fix: test object_modifier_array is passing when it shouldn't.Habib Gahbiche
From D5253.
2019-07-01Tests: Point ffmpeg data to a new folderSergey Sharybin
2019-06-26Tests: put output of IO tests in subdirectoryBrecht Van Lommel
2019-05-28Tests: make grease pencil tests part of OpenGL render testsBrecht Van Lommel
Otherwise tests fail on machines without OpenGL.
2019-05-16Tests: add more descriptive messages when idiff is not availableBrecht Van Lommel
Based on patch contributed by Diana Picus in D4355.
2019-05-10Tests: Be more explicit about the required location of the tests folder.Ray Molenkamp
2019-05-10Fix failing tests when Cycles is enabledBrecht Van Lommel
The --env-system-scripts hack does not work with it, it can't find the cycles Python module then when importing add-ons.
2019-05-07Tests: add Cycles image texture colorspace testsBrecht Van Lommel
2019-05-06Tests: add Eevee reference images, and add workbench testsBrecht Van Lommel
Being able to compare Eevee reference images is useful for refactoring I'm working on so might as well add them now, even if we can still improve them. Workbench tests are just rendering the same files as Cycles and Eevee. This doesn't really tests many workbench settings until we add tests specifically for them, but does cover how it it handles the different object types.
2019-04-18Cleanup: remove last bits of WITH_LEGACY_DEPSGRAPH CMake option.Bastien Montagne
Legacy depsgraph has been removed from Blender since several months already...
2019-04-17Cleanup: use 2 space indentation for CMakeCampbell Barton
2019-04-03Fix export_obj_cube test.Howard Trickey
Verified that current export files for all_quads.blend are good, then updated expected MD5 hash to match current files.
2019-03-17Merge branch 'blender2.7'Brecht Van Lommel
2019-03-15Tests: remove unnecessary _test postfix on test names.Brecht Van Lommel
2019-02-20Merge branch 'blender2.7'Brecht Van Lommel
2019-02-20Tests: only run OpenGL draw tests on lib/tests/opengl, support symlinks.Brecht Van Lommel
To keep running these tests relatively fast and practical to run often, running it on all .blend files is a bit much. So now we only run it on files from this directory. Additionally this adds supports for following symlinks, so that you can easily symlinks to other directories if you want to tests extra files which may have linked libraries.
2019-02-11Merge branch 'blender2.7'Brecht Van Lommel
2019-02-11Cycles: add animation denoising test, fix operator to work with single frames.Brecht Van Lommel
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
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-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-05-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-05-18Cycles tests: move to render/ folder, to share with Eevee.Brecht Van Lommel
2018-05-18Collections and groups unificationBrecht Van Lommel
OVERVIEW * In 2.7 terminology, all layers and groups are now collection datablocks. * These collections are nestable, linkable, instanceable, overrideable, .. which opens up new ways to set up scenes and link + override data. * Viewport/render visibility and selectability are now a part of the collection and shared across all view layers and linkable. * View layers define which subset of the scene collection hierarchy is excluded for each. For many workflows one view layer can be used, these are more of an advanced feature now. OUTLINER * The outliner now has a "View Layer" display mode instead of "Collections", which can display the collections and/or objects in the view layer. * In this display mode, collections can be excluded with the right click menu. These will then be greyed out and their objects will be excluded. * To view collections not linked to any scene, the "Blender File" display mode can be used, with the new filtering option to just see Colleciton datablocks. * The outliner right click menus for collections and objects were reorganized. * Drag and drop still needs to be improved. Like before, dragging the icon or text gives different results, we'll unify this later. LINKING AND OVERRIDES * Collections can now be linked into the scene without creating an instance, with the link/append operator or from the collections view in the outliner. * Collections can get static overrides with the right click menu in the outliner, but this is rather unreliable and not clearly communicated at the moment. * We still need to improve the make override operator to turn collection instances into collections with overrides directly in the scene. PERFORMANCE * We tried to make performance not worse than before and improve it in some cases. The main thing that's still a bit slower is multiple scenes, we have to change the layer syncing to only updated affected scenes. * Collections keep a list of their parent collections for faster incremental updates in syncing and caching. * View layer bases are now in a object -> base hash to avoid quadratic time lookups internally and in API functions like visible_get(). VERSIONING * Compatibility with 2.7 files should be improved due to the new visibility controls. Of course users may not want to set up their scenes differently now to avoid having separate layers and groups. * Compatibility with 2.8 is mostly there, and was tested on Eevee demo and Hero files. There's a few things which are know to be not quite compatible, like nested layer collections inside groups. * The versioning code for 2.8 files is quite complicated, and isolated behind #ifdef so it can be removed at the end of the release cycle. KNOWN ISSUES * The G-key group operators in the 3D viewport were left mostly as is, they need to be modified still to fit better. * Same for the groups panel in the object properties. This needs to be updated still, or perhaps replaced by something better. * Collections must all have a unique name. Less restrictive namespacing is to be done later, we'll have to see how important this is as all objects within the collections must also have a unique name anyway. * Full scene copy and delete scene are exactly doing the right thing yet. Differential Revision: https://developer.blender.org/D3383 https://code.blender.org/2018/05/collections-and-groups/
2018-03-13Merge branch 'master' into blender2.8Campbell Barton
2018-03-12Cycles: reorganize tests in more evenly distributed groups.Brecht Van Lommel
2018-03-10Merge branch 'master' into blender2.8Brecht 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-02-25merged collada rework from master into blender 2.8Gaia 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-17Merge branch 'master' into blender2.8Brecht Van Lommel
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-14Merge branch 'master' into blender2.8Campbell Barton
2018-02-14Cleanup: use prefix for testsCampbell Barton
Allows for running all `bmesh_*` or `object_*` tests.
2018-02-13Merge branch 'master' into blender2.8Campbell Barton
2018-02-12Add boolean regression test.Howard Trickey
2018-02-08Merge branch 'master' into blender2.8Tamito Kajiyama
Conflicts: intern/cycles/blender/addon/ui.py
2018-02-08Cycles tests: separate directory for sss tests.Brecht Van Lommel
2017-12-19Merge branch 'master' into blender2.8Sergey Sharybin