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-04-18Fix layer unittests after scene/workspace engine changesDalai Felinto
Note: view_layer_background_set and view_layer_object_copy still fail. But they were failing before.
2018-04-17Removing Blender Game Engine from Blender 2.8Dalai Felinto
Folders removed entirely: * //extern/recastnavigation * //intern/decklink * //intern/moto * //source/blender/editors/space_logic * //source/blenderplayer * //source/gameengine This includes DNA data and any reference to the BGE code in Blender itself. We are bumping the subversion. Pending tasks: * Tile/clamp code in image editor draw code. * Viewport drawing code (so much of this will go away because of BI removal that we can wait until then to remove this.
2018-04-16Depsgraph: remove EvaluationContext, pass Depsgraph instead.Brecht Van Lommel
The depsgraph was always created within a fixed evaluation context. Passing both risks the depsgraph and evaluation context not matching, and it complicates the Python API where we'd have to expose both which is not so easy to understand. This also removes the global evaluation context in main, which assumed there to be a single active scene and view layer. Differential Revision: https://developer.blender.org/D3152
2018-04-16Fix build errors after recent depsgraph changes.Brecht Van Lommel
2018-04-16Merge branch 'master' into blender2.8Sergey Sharybin
2018-04-16Added lock-free single linked list implementationSergey Sharybin
Only supports lock-free insertion for now, can not delete element or traverse the list at the same time.
2018-04-16Merge remote-tracking branch 'origin' into blender2.8Gaia Clary
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-14Fix make single user crashDalai Felinto
How to reproduce the crash: * Factory startup * 'u'key (make single user) It comes with a simple unittest to reproduce the original issue.
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-03-02Merge branch 'master' into blender2.8Sergey Sharybin
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-02Merge branch 'master' into blender2.8Campbell Barton
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-27Merge branch 'master' into blender2.8Gaia Clary
2018-02-27Collada: Added tests for Animation exportGaia Clary
2018-02-27merge from masterGaia Clary
2018-02-26optimized the output of the collada test script for better readingGaia Clary
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-22Fix T54136: Crash when deleting an object that is in an instanced groupDalai Felinto
We were not cleaning up groups after deleting objects, leaving groups with Bases that had no object. It includes a unittest. Reviewers: mont29
2018-02-18Merge branch 'master' into blender2.8Campbell Barton
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-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-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-15Merge branch 'master' into blender2.8Sergey Sharybin
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-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-09Fix collection syncing when creating new collections from the outlinerDalai Felinto
We were not passing a scene collection parent to the BKE_collection_add function, which in turn made syncing not work. Right now we: * Explicitly pass the master collection in this case * Fallback to the master collection in other cases With unittest.
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
2018-01-31Make layers unittest pass after filter cleanupDalai Felinto
Update your svn lib. Unittests broken since 76289613910073.
2018-01-28Merge branch 'master' into blender2.8Campbell Barton
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-19Fix collections names no longer unique when moved aroundDalai Felinto
We were not checking for uniqueness after moving. And in some cases the new siblings of our collection may have conflicting names.
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Cleanup: typosCampbell Barton
2018-01-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-17Memory: add MEM_malloc_arrayN() function to protect against overflow.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3002
2018-01-16Fix collection visibility evaluationDalai Felinto
Collection A [disabled] -> Collection B -> Collection C -> object Object should be invisible, but it is not. Reported by Antonio Vazquez. Bug introduced on: 1f5106de610b
2018-01-04tests: limit public API in view_layer_commonCampbell Barton
2018-01-04tests: replace boiler-plate with util functionCampbell Barton
This crept back in somehow!