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
2017-03-29Remove non-bmesh case from testCampbell Barton
2017-03-29Use 'empty' option for clearing factory settingsCampbell Barton
2017-03-24Cleanup: minor edits to path testCampbell Barton
No need for redundant ID's and correct arg order
2017-03-24BLI_path_util: Add BLI_path_joinCampbell Barton
There weren't any convenient ways to join multiple paths in C that accounted for corner cases.
2017-03-22BLI_path_util: add BLI_path_name_at_indexCampbell Barton
Utility to get a file/dir in the path by index, supporting negative indices to start from the end of the path. Without this it wasn't straightforward to get the a files parent directory name from a filepath.
2017-03-18PyAPI: ID Property testsJacques Lucke
2017-02-27Cleanup: typo in struct nameCampbell Barton
2017-02-16Register test for mesh.split_faces()Sergey Sharybin
2017-02-16Cyctes tests: Commit blender.git side changesSergey Sharybin
2017-02-10CTests: Initial work to cover Cycles nodes with OpenGL testsSergey Sharybin
Works similar to regular Cycles tests, just does OpenGL render to get output image. Seems to work fine with the only funny effect: Blender window will pop up for each of the tests. This is current limitation of our OpenGL context. Might be changed in the future.
2017-02-10Cleanup: Trailing whitespaceSergey Sharybin
2017-02-03Tests: Use proper order for EXPECT_EQ()Sergey Sharybin
2017-02-03Tests: Use EXPECT_FALSE() instead of EXPECT_EQ(foo, false)Sergey Sharybin
2017-02-03Tests: Use EXPECT_TRUE() instead of EXPECT_EQ(foo, true)Sergey Sharybin
2017-02-01Cycles tests: Allow python auto-execSergey Sharybin
2017-01-25[Cycles/MSVC/Testing] Fix broken test code.lazydodo
Currently the tests don't run on windows for the following reasons 1) render_graph_finalize has an linking issue due missing a bunch of libraries (not sure why this is not an issue for linux) 2) This one is more interesting, in test/python/cmakelists.txt ${TEST_BLENDER_EXE_BARE} and ${TEST_BLENDER_EXE} are flat out wrong, but for some reason this doesn't matter for most tests, cause ctest will actually go out and look for the executable and fix the path for you *BUT* only for the command, if you use them in any of the parameters it'll happily pass on the wrong path. 3) on linux you can just run a .py file, windows is not as awesome and needs to be told to run it with pyton. 4) had to use the NAME/COMMAND long form of add_test otherwise $<TARGET_FILE:blender> doesn't get expanded, why? beats me. 5) missing idiff.exe for msvc2015/x64 in the libs folder. This patch addresses 1-4 , but given I have no working Linux build environment, I'm unsure if it'll break anything there 5 has been fixed in rBL61751 Reviewers: juicyfruit, brecht, sergey Reviewed By: sergey Subscribers: Blendify Tags: #cycles, #automated_testing Differential Revision: https://developer.blender.org/D2367
2017-01-12Cycles tests: Rework output messagesSergey Sharybin
Made them closer to how GTest shows the output, so reading test logs is easier now (at least feels more uniform). Additionally now we know how much time tests are taking so can tweak samples/resolution to reduce render time of slow tests. It is now also possible to enable colored messages using magic CYCLESTEST_COLOR environment variable. This makes it even easier to visually grep failed/passed tests using `ctest -R cycles -V`.
2016-12-31Add BLI_string_utf8 specific test.Bastien Montagne
This test should ensure we correctly detect all invalid utf-8 sequences in a given string. DISCLAIMER: Do not run this with current code - you'll either laugh or cry, nearly *all* checks fail! Based on utf-8 decoder stress-test (https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt) by Markus Kuhn <http://www.cl.cam.ac.uk/~mgk25/> - 2015-08-28 - CC BY 4.0
2016-11-02tests: Update hash for OBJSergey Sharybin
Was a recent update of UV precision.
2016-09-11Fix undefined variable on errors in Cycles ctests.Dmitry Dygalo
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2201
2016-08-01Replace pep8 with flake8 checkerCampbell Barton
2016-07-29Add GMock library which is responsive for dealing with mock objectsSergey Sharybin
2016-07-29Fix Cycles OSL hair BSDF inconsistencies with SVM.Brecht Van Lommel
2016-07-29Fix Cycles ctests not always deleting fail.png files on success.Brecht Van Lommel
2016-07-06Cycles tests: Don't create fail file on idiff warningSergey Sharybin
2016-07-04Fix bmesh test after recent refactor.Bastien Montagne
2016-06-23BLI_array_utils: add BLI_array_rfindindexCampbell Barton
Array search from back to front.
2016-06-19Cycles tests: raise failure threshold, copy failed image for comparison.Brecht Van Lommel
2016-06-11BLI_rand: add BLI_rng_get_char_nCampbell Barton
Use to fill an array of bytes to random values.
2016-05-30Add 'multi small' testcase to performance Ghash tests.Bastien Montagne
This new test simply inserts and lookup a lot of time on very small ghashes (most are < 17 items).
2016-05-30BLI_array_store testsCampbell Barton
Ensure the data is valid once expanded, and that de-duplication is working as expected.
2016-05-02Fix bl_load_py_modules testCampbell Barton
- scripts that execute directly need to include their basedir in the sys.path - modules which are in a directory without an __init__.py weren't importing.
2016-04-15Tests: Fix wrong hash after "no redundant zeroes" commitSergey Sharybin
2016-04-04Update hash for an OBJ unit testSergey Sharybin
2016-03-24Fix BLI_strncasestr use with a single characterCampbell Barton
2016-03-23UI: multi word filtering in search menuCampbell Barton
D1080 by @rockets, with own improvements to tests
2016-02-29Tests: improve RNA default reportingCampbell Barton
Float values were often reported with extra precision from float32 -> 64 conversion. Add repr_float_32 to give cleaner output.
2016-02-20Add GHash/GSet pop() feature.Bastien Montagne
Behavior is similar to python's set.pop(), it removes and returns a 'random' entry from the hash. Notes: * Popping will return items in same order as ghash/gset iterators (i.e. increasing order in internal buckets-based storage), unless ghash/gset is modified in between. * We are keeping a track of the latest bucket we popped out (through a 'state' parameter), this allows for similar performances to iterators when iteratively popping a whole hash (without it, we are roughly O(n!), with it we are roughly O(n)...). Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1808
2016-02-17Fix broken ghash performance gtest.Bastien Montagne
Regression from rB2dba2b3d71d9781bce45. Do not understand why MSVC needs this convoluted allocation (looks like broken compiler crap?), but at least let's do it correctly!
2016-02-06Fix gtests on Windows/MSVCSergey Sharybin
There were some missing stubs and some tests were specifically written for Linux. Also, apparently MSVC has a limit of 64K for the insource strings..
2016-02-06Fix typo in 32bytes aligned malloc testSergey Sharybin
2016-02-06Fix GTests compilations on WindowsSergey Sharybin
Unfortunately this doesn't make all tests compilable due to all sort of weird and wonderful bad levels includes on Windows (G referenced from bf_blenlib) but at least allows to selectively build tests for now.
2016-01-31Cleanup: pep8Campbell Barton
2016-01-19GTests: were using C++11 featureCampbell Barton
2016-01-19GTests: split array_utils testsCampbell Barton
2016-01-19GTests: array_utilsCampbell Barton
2016-01-04Correct include directories for GTestsSergey Sharybin
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-29Fix memleaks in our gtests.Bastien Montagne
2015-12-10Eigen: move C API into intern/eigen.Brecht Van Lommel