Add config option that allows for weak mocked functions

This commit is contained in:
Stein Heselmans
2016-10-14 13:43:02 +02:00
parent 9f1ae5e2a5
commit 6c8054dc34
4 changed files with 16 additions and 1 deletions
+3
View File
@@ -287,6 +287,9 @@ Defined in the yaml file, they look more like this:
* `:mock_suffix`:
The suffix to append to your mock files. Defaults to “”.
* `:weak_mocks`:
When set to true, the generated mocks are defined as weak symbols. Defaults to false.
* `:subdir`:
Relative subdir for your mocks. Set this to e.g. "sys" in order to
create mock for `sys/types.h` in `:mock_path`/sys/