Add test description, RTM links and doxygen links for common,
interrupt and boot page table test cases.
Signed-off-by: Spoorthi K <spoorthi.k@intel.com>
32 lines
472 B
C
32 lines
472 B
C
/*
|
|
* Copyright (c) 2016 Linaro Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr.h>
|
|
#include <errno.h>
|
|
#include <tc_util.h>
|
|
#include <ztest.h>
|
|
/**
|
|
* @addtogroup kernel_common_tests
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @brief Test if correct multilib is selected
|
|
*
|
|
*/
|
|
void test_multilib(void)
|
|
{
|
|
volatile long long a = 100;
|
|
volatile long long b = 3;
|
|
volatile long long c = a / b;
|
|
|
|
zassert_equal(c, 33, "smoke-test failed: wrong multilib selected");
|
|
}
|
|
|
|
/**
|
|
* @}
|
|
*/
|