]> Kevux Git Server - fll/commit
Update: Fix the f_directory unit tests and finish writing them.
authorKevin Day <thekevinday@gmail.com>
Sat, 9 Apr 2022 05:25:03 +0000 (00:25 -0500)
committerKevin Day <thekevinday@gmail.com>
Sat, 9 Apr 2022 05:25:03 +0000 (00:25 -0500)
commitbdc5fe74cf3c31f022119414d7ac597feca5a58e
tree937ec4ad4a334f75d42df9a4f379ba089914ffe4
parent3448c3cdf856f0b46114281235807be2e39c72c5
Update: Fix the f_directory unit tests and finish writing them.

The problem with the unit tests not being run (especially on Github) appears to be the result of compiler optimizations.
Fix this by disabling compiler optimizations in the mock functions and add appropriate commetns explaining this.

Do not wrap/mock strncmp() and strnlen().

The directory tests are now completed.
13 files changed:
level_0/f_account/data/build/settings-mocks
level_0/f_capability/data/build/settings-mocks
level_0/f_color/data/build/settings-mocks
level_0/f_conversion/data/build/settings-mocks
level_0/f_directory/data/build/settings-mocks
level_0/f_directory/tests/unit/c/mock-directory.c
level_0/f_directory/tests/unit/c/test-directory-exists_at.c
level_0/f_directory/tests/unit/c/test-directory-is.c
level_0/f_directory/tests/unit/c/test-directory-is_at.c
level_0/f_directory/tests/unit/c/test-directory-list.c
level_0/f_directory/tests/unit/c/test-directory-touch.c
level_0/f_directory/tests/unit/c/test-directory-touch_at.c
level_0/f_directory/tests/unit/c/test-directory.c