diff options
author | Paul Fagerburg <pfagerburg@google.com> | 2020-10-27 11:25:41 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-28 02:09:17 +0000 |
commit | edfa1ffbf293e831db863179c32108de67f510cc (patch) | |
tree | c5ff15520e94d066d774bf05ebfea541dbe6a8a7 /include/test_util.h | |
parent | a07201ceeabb660c4b1343a8f17eeb26696054ac (diff) | |
download | chrome-ec-edfa1ffbf293e831db863179c32108de67f510cc.tar.gz |
tests: fix include for Zephyr ztest
A test written for the Zephyr Ztest API needs to include ztest.h,
not just ztest_assert.h
BUG=b:168032590
BRANCH=None
TEST=build base32 unit test for Zephyr Ztest target
Signed-off-by: Paul Fagerburg <pfagerburg@google.com>
Change-Id: Ib4558e724614d9684294e6f2b670942d1f0c82d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2504471
Tested-by: Paul Fagerburg <pfagerburg@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Paul Fagerburg <pfagerburg@chromium.org>
Diffstat (limited to 'include/test_util.h')
-rw-r--r-- | include/test_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/test_util.h b/include/test_util.h index d9195e4c97..159aac2d61 100644 --- a/include/test_util.h +++ b/include/test_util.h @@ -10,7 +10,7 @@ #ifdef CONFIG_ZEPHYR -#include <ztest_assert.h> +#include <ztest.h> /* * We need these macros so that a test can be built for either Ztest or the |