Remove definition of testcases in yaml file, those are now detected from binary. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
35 lines
594 B
C
35 lines
594 B
C
/*
|
|
* Copyright (c) 2016 Linaro Ltd.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/kernel.h>
|
|
#include <errno.h>
|
|
#include <zephyr/tc_util.h>
|
|
#include <zephyr/ztest.h>
|
|
/**
|
|
* @addtogroup kernel_common_tests
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @brief Test if correct multilib is selected
|
|
*
|
|
*/
|
|
ZTEST(multilib, test_multilib)
|
|
{
|
|
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");
|
|
}
|
|
|
|
extern void *common_setup(void);
|
|
ZTEST_SUITE(multilib, NULL, common_setup, NULL, NULL, NULL);
|
|
|
|
/**
|
|
* @}
|
|
*/
|