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
2019-05-13Tests: disable DoF in Eevee tests for now, it adds blurring with default valuesBrecht Van Lommel
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-11Tests: fix eevee and workbench using Cycles in a few testsBrecht Van Lommel
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-09Tests: add tests/report.html that links to all HTML test reportsBrecht Van Lommel
Currently this is for Cycles, Eevee and workbench tests.
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-05-06Fix error running Eevee render testsBrecht Van Lommel
2019-04-29GTest: BLI_path_util testsCampbell Barton
Unit tests for: - BLI_path_extension_check - BLI_path_frame_check_chars - BLI_path_frame_range - BLI_path_frame_get D4749 by @zazizizou
2019-04-20Cleanup: comment line length (tests)Campbell Barton
2019-04-18PyTests: do not load addons in load_py_modules test.Bastien Montagne
It makes no sense to load add-ons here, we already do that (in a more complete way) in load_addons test, this is only adding overhead and doubling code to maintain). Also do not try to load-as-modules add-ons that are not 2.8-ready, and some other misc fix. load_py_modules test should be passing again now. Thanks to @sergey who did part of the work here as well.
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18PyTests: do not try to load non-2.8-ready add-ons.Bastien Montagne
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-17Tests: Fix Alembic regression testSergey Sharybin
2019-04-17Tests: Fix ID properties testSergey Sharybin
Simply adjust to Python API changes done in 2.8.
2019-04-17Fix T63678 Link error of tests with MSVC.Ray Molenkamp
Ideally OCIO removes their log2 implementation from the global namespace but for now this linker tweak will have to do.
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17Cleanup: use 2 space indentation for CMakeCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16CMake: remove BLENDER_SORTED_LIBSCampbell Barton
Use CMake's target_link_libraries instead of manually maintaining library dependencies in a single list. In practice adding new libraries often ended up being guess-work, now each library lists the libraries it uses. This was used for the game player executable so libraries could optionally link to stubs. If we need this functionality it can be done using target-properties as described in T46725.
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-04Fix ply import tests.Howard Trickey
The function for clearing out objects in the startup file needed updating for 2.8 collections api.
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-20Cleanup: More C++ like nature for word split testSergey Sharybin
While it looks more longer, but also contains more comments about what's going on. Surely, this function almost never breaks and investing time into maintaining its tests is not that important, but we should have a good, clean, understandable tests so they act as a nice example of how they are to be written. Especially important to show correct language usage, without old school macros magic. Doing this at a lunch breaks, so will be series of some updates in the area.
2019-03-20Fix BLI_path_frame_stripSybren A. Stüvel
The `BLI_path_frame_strip` function was completely broken, unless the number of digits in the sequence number was the same as the length of the extension. In other words, it would work fine for `file.0001.abc` (4 digit `0001` and 4 char `.abc`), but other combinations would truncate to the shortest (`file.001.abc` would become `file.###.ab` and `file.00001.a` would become `file.##.a`). The dependency between the sequence number and the file extension is now removed. The behaviour has changed a little bit in the case where there are no numbers in the filename. Previously, `path="filename.abc"` would result in `path="filename.abc"` and `ext=""`, but now it results in `path="filename"` and `ext=".abc"`. This way `ext` always contains the extension, and the behaviour is consistent regardless of whether there were any numbers found. Furthermore, I've removed the `bool set_frame_char` parameter, because it was unclear, probably also buggy, and most importantly, never used. I've also added a unit test for the `BLI_path_frame_strip` function.
2019-03-17Merge branch 'blender2.7'Brecht Van Lommel
2019-03-17Fix bl_pyapi_idprop unit test.Howard Trickey
Scenes can now have a 'cycles' key when starting, so account for that.
2019-03-17Cleanup: unused variablesCampbell Barton
2019-03-17Cleanup: unused importsCampbell Barton
2019-03-15Tests: remove unnecessary _test postfix on test names.Brecht Van Lommel
2019-03-14Tests: BLI_heap_simple test fix build error with MSVC.Ray Molenkamp
BLI_heap_simple.h uses types from BLI_sys_types.h causing a build error on windows.
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
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
2019-02-01Cleanup: manually remove header text not handled by automationCampbell Barton
2019-01-23Fix T54834: VSE can't import OGG Theora videoSergey Sharybin
2018-12-24Fix/cleanup typos and such in UI messages (and some comments).Bastien Montagne
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-13BLI: New Edgehash and EdgeSet implementationJacques Lucke
The new data structure uses open addressing instead of chaining to resolve collisions in the hash table. This new structure was never slower than the old implementation in my tests. Code that first inserts all edges and then iterates through all edges (e.g. to remove duplicates) benefits the most, because the `EdgeHashIterator` becomes a simple for loop over a continuous array. Reviewer: campbellbarton Differential Revision: D4050
2018-12-03Fix T58556: Some remaining 'dupli_types' in pycode after renaming.Bastien Montagne
2018-11-28Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blenderplayer/CMakeLists.txt tests/gtests/blenlib/CMakeLists.txt
2018-11-28Fix building gtests and bplayer after recent NumaAPI addition.Bastien Montagne
Seriously... like, seriously...