1 /*
2  * Copyright (c) 2016 Linaro Ltd.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 #include <errno.h>
9 #include <zephyr/tc_util.h>
10 #include <zephyr/ztest.h>
11 /**
12  * @addtogroup kernel_common_tests
13  * @{
14  */
15 
16 /**
17  * @brief Test if correct multilib is selected
18  *
19  */
ZTEST(multilib,test_multilib)20 ZTEST(multilib, test_multilib)
21 {
22 	volatile long long a = 100;
23 	volatile long long b = 3;
24 	volatile long long c = a / b;
25 
26 	zassert_equal(c, 33, "smoke-test failed: wrong multilib selected");
27 }
28 
29 extern void *common_setup(void);
30 ZTEST_SUITE(multilib, NULL, common_setup, NULL, NULL, NULL);
31 
32 /**
33  * @}
34  */
35