diff options
Diffstat (limited to 'zephyr/test/hooks')
-rw-r--r-- | zephyr/test/hooks/BUILD.py | 2 | ||||
-rw-r--r-- | zephyr/test/hooks/boards/native_posix.overlay | 6 | ||||
-rw-r--r-- | zephyr/test/hooks/testcase.yaml | 4 |
3 files changed, 11 insertions, 1 deletions
diff --git a/zephyr/test/hooks/BUILD.py b/zephyr/test/hooks/BUILD.py index ee25ae52bc..e3bb97208f 100644 --- a/zephyr/test/hooks/BUILD.py +++ b/zephyr/test/hooks/BUILD.py @@ -4,4 +4,4 @@ """Register zmake project for hooks test.""" -register_host_test("hooks") +register_host_test("hooks", dts_overlays=[here / "boards/native_posix.overlay"]) diff --git a/zephyr/test/hooks/boards/native_posix.overlay b/zephyr/test/hooks/boards/native_posix.overlay new file mode 100644 index 0000000000..fe96518269 --- /dev/null +++ b/zephyr/test/hooks/boards/native_posix.overlay @@ -0,0 +1,6 @@ +/* Copyright 2020 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#include <board-overlays/native_posix.dts> diff --git a/zephyr/test/hooks/testcase.yaml b/zephyr/test/hooks/testcase.yaml new file mode 100644 index 0000000000..f35baae16b --- /dev/null +++ b/zephyr/test/hooks/testcase.yaml @@ -0,0 +1,4 @@ +common: + platform_allow: native_posix +tests: + hooks.default: {} |