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
2022-09-14Cleanup: remove redundant braces from assert & raiseCampbell Barton
autopep8 v1.7 added a space after assert & raise, remove the braces as they aren't needed.
2022-04-19Cleanup: run autopep8 on tests/Campbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-11-19Cleanup: fix typos in comments and docsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264
2021-11-11LibLink/Append tests: Add basic testing of `bpy.data.libraries.load` code.Bastien Montagne
2021-11-04Attempt to fix failing lib link test on windows.Bastien Montagne
According to https://docs.python.org/3/library/os.html#os.rename, `os.rename` has os-specific behavior, and will fail in case you attempt to rename to an existing file on windows. So using `os.replace` instead, which should be os-agnostic. NOTE: Fact that temp test directory is not cleared after tests are sucessfully ran does not sound great...
2021-11-04Attempt fix for new lib reload/relocate tests on windows.Bastien Montagne
Try splitting them into their own class.
2021-11-02Tests: Add basic unittest for library reload and relocate operators.Bastien Montagne
2021-10-20Link/Append tests: properly support and test with/without 'recursive' behaviors.Bastien Montagne
This requires adding an extra ('indirect') library to the test cases for append. Aftermath of T92224.
2021-10-19Fix liblink tests after recent commit.Bastien Montagne
NOTE: This needs new tests, no time now, will do tomorrow.
2021-09-29Cleanup: trailing space, newlines at EOFCampbell Barton
2021-09-23LibLink Append: Expose 'reuse ID' through new BLO flag, and add basic tests.Bastien Montagne
Option is now available to append operator, alsthough hidden and disabled by default.
2021-09-14LibLink: Enable unittest that was previously failing in append case.Bastien Montagne
Previous commit fixed it.
2021-09-06Fix tests broken by rB58632a7f3c0f1be6.Bastien Montagne
Commits breaking RNA API should always run all tests, and do text search in python code base to ensure everything is updated as needed.
2021-09-01Unittest: Extend and basic linking tests and add basic append tests.Bastien Montagne
We could check many more things still, but this should already cover most basic common cases.
2021-03-04Tests: don't write thumbnails when running testsCampbell Barton
Also replace WM_OT_read_factory_settings with WM_OT_read_homefile so the preferences don't have to be reloaded.
2020-12-10Tests: fix 'ctest -j' running multiple tests at onceCampbell Barton
bl_blendfile_io & bl_blendfile_liblink shared a filename, which could make these tests fail.
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-10-02Cleanup: pep8, blank linesCampbell Barton
2020-04-28Tests: fix some tests passing even if there are Python errorsBrecht Van Lommel
Blender was not configured to exit with non-zero return code on Python errors. A bunch of tests worked around this but not all. This removes the need for such workarounds.
2020-02-18Remove debug prints from blendfile_liblink.Bastien Montagne
rBf35f7bd97a4151 was the proper fix it seems.
2020-02-17Temp debug prints for liblink tests to check what happens on windows.Bastien Montagne
2020-02-14Cleanup: Deduplicate some code in new blenfile io/linking tests.Bastien Montagne
2020-02-13Add initial, very basic save/open & library linking blendfile tests.Bastien Montagne
Do not do much for now, but would have been enough to catch the crash introduced the other day in linking code...