I added a few tests for some functions from BLI_path_util.h
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Tests are to be atomic, meaning they should not be just grouped by the function they're testing, but should also indicate what exact case they're testing.
PathUtilEnsureExtensionNoOrigFileExtension PathUtilEnsureExtensionWothOrigFileExtension
and so on. otherwise you don't easily see what exact case fails.
Comment Actions
No need to touch existing tests in this patch, could happen as a separate change. But some tests are failing here:
[ FAILED ] 4 tests, listed below: [ FAILED ] path_util.PathUtilSplitNameNumWithoutDelimiter [ FAILED ] path_util.PathUtilSplitNameNumMultipleNumbers [ FAILED ] path_util.PathUtilSplitNameNumMultipleNumbersAndDelimiters [ FAILED ] path_util.PathUtilPathFrameRangeTooFewHashes
Comment Actions
Hmm, all tests are passed on my build.
Could you send me full output from these four tests and definition of functions which not pass?
(I'm using quite fresh code, just would like to know they are same surely.)