From afeb3920414e0ee586c269210fa476ca3c83dcb7 Mon Sep 17 00:00:00 2001 From: Joel Guittet Date: Sun, 29 Oct 2023 00:38:31 +0200 Subject: [PATCH] tests: add missing mock version --- .clang-format-ignore | 1 + tests/mocks/zephyr/include/version.h | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 tests/mocks/zephyr/include/version.h diff --git a/.clang-format-ignore b/.clang-format-ignore index 2da894d..fded314 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -41,6 +41,7 @@ tests/mocks/zephyr/include/zephyr/sys/time_units.h tests/mocks/zephyr/include/zephyr/sys/util.h tests/mocks/zephyr/include/zephyr/sys/util_macro.h tests/mocks/zephyr/include/zephyr/sys_clock.h +tests/mocks/zephyr/include/version.h tests/mocks/zephyr/src/device.c tests/mocks/zephyr/src/flash.c tests/mocks/zephyr/src/flash_img.c diff --git a/tests/mocks/zephyr/include/version.h b/tests/mocks/zephyr/include/version.h new file mode 100644 index 0000000..5e425db --- /dev/null +++ b/tests/mocks/zephyr/include/version.h @@ -0,0 +1,6 @@ +#ifndef __VERSION_H__ +#define __VERSION_H__ + +#define KERNEL_VERSION_STRING "x.y.z" + +#endif /* __VERSION_H__ */