| /* |
| * Copyright (c) 2016 Intel Corporation |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| |
| #include <ztest.h> |
| |
| |
| extern void byteorder_test_memcpy_swap(void); |
| extern void byteorder_test_mem_swap(void); |
| extern void atomic_test(void); |
| extern void bitfield_test(void); |
| extern void intmath_test(void); |
| extern void printk_test(void); |
| extern void ring_buffer_test(void); |
| extern void slist_test(void); |
| extern void rand32_test(void); |
| |
| void test_main(void) |
| { |
| ztest_test_suite(common_test, |
| ztest_unit_test(byteorder_test_memcpy_swap), |
| ztest_unit_test(byteorder_test_mem_swap), |
| ztest_unit_test(atomic_test), |
| #ifdef CONFIG_PRINTK |
| ztest_unit_test(printk_test), |
| #endif |
| ztest_unit_test(ring_buffer_test), |
| ztest_unit_test(slist_test), |
| ztest_unit_test(rand32_test), |
| ztest_unit_test(intmath_test) |
| ); |
| |
| ztest_run_test_suite(common_test); |
| } |