tests: kernel: remove unsupported tests
Remove tests that assert due to invocation from ISR which is not supported. Change-Id: Ib2313b8f75db0140aa475281bd76ba0414d6a481 Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This commit is contained in:
parent
d0a33869a5
commit
bceabf6a4f
6 changed files with 0 additions and 12 deletions
|
@ -19,7 +19,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
#include <irq_offload.h>
|
|
||||||
#include "test_mpool.h"
|
#include "test_mpool.h"
|
||||||
|
|
||||||
/** TESTPOINT: Statically define and initialize a memory pool*/
|
/** TESTPOINT: Statically define and initialize a memory pool*/
|
||||||
|
|
|
@ -10,7 +10,6 @@ extern void test_mslab_kinit(void);
|
||||||
extern void test_mslab_kdefine(void);
|
extern void test_mslab_kdefine(void);
|
||||||
extern void test_mslab_kdefine_extern(void);
|
extern void test_mslab_kdefine_extern(void);
|
||||||
extern void test_mslab_alloc_free_thread(void);
|
extern void test_mslab_alloc_free_thread(void);
|
||||||
extern void test_mslab_alloc_free_isr(void);
|
|
||||||
extern void test_mslab_alloc_align(void);
|
extern void test_mslab_alloc_align(void);
|
||||||
extern void test_mslab_alloc_timeout(void);
|
extern void test_mslab_alloc_timeout(void);
|
||||||
extern void test_mslab_used_get(void);
|
extern void test_mslab_used_get(void);
|
||||||
|
@ -23,7 +22,6 @@ void test_main(void *p1, void *p2, void *p3)
|
||||||
ztest_unit_test(test_mslab_kdefine),
|
ztest_unit_test(test_mslab_kdefine),
|
||||||
ztest_unit_test(test_mslab_kdefine_extern),
|
ztest_unit_test(test_mslab_kdefine_extern),
|
||||||
ztest_unit_test(test_mslab_alloc_free_thread),
|
ztest_unit_test(test_mslab_alloc_free_thread),
|
||||||
ztest_unit_test(test_mslab_alloc_free_isr),
|
|
||||||
ztest_unit_test(test_mslab_alloc_align),
|
ztest_unit_test(test_mslab_alloc_align),
|
||||||
ztest_unit_test(test_mslab_alloc_timeout),
|
ztest_unit_test(test_mslab_alloc_timeout),
|
||||||
ztest_unit_test(test_mslab_used_get));
|
ztest_unit_test(test_mslab_used_get));
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
#include <irq_offload.h>
|
|
||||||
#include "test_mslab.h"
|
#include "test_mslab.h"
|
||||||
|
|
||||||
/** TESTPOINT: Statically define and initialize a memory slab*/
|
/** TESTPOINT: Statically define and initialize a memory slab*/
|
||||||
|
@ -160,11 +159,6 @@ void test_mslab_alloc_free_thread(void)
|
||||||
tmslab_alloc_free(&mslab);
|
tmslab_alloc_free(&mslab);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_mslab_alloc_free_isr(void)
|
|
||||||
{
|
|
||||||
irq_offload(tmslab_alloc_free, &mslab);
|
|
||||||
}
|
|
||||||
|
|
||||||
void test_mslab_alloc_align(void)
|
void test_mslab_alloc_align(void)
|
||||||
{
|
{
|
||||||
tmslab_alloc_align(&mslab);
|
tmslab_alloc_align(&mslab);
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
#include <irq_offload.h>
|
|
||||||
|
|
||||||
#define TIMEOUT 500
|
#define TIMEOUT 500
|
||||||
#define STACK_SIZE 512
|
#define STACK_SIZE 512
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
#include <irq_offload.h>
|
|
||||||
|
|
||||||
#define STACK_SIZE 512
|
#define STACK_SIZE 512
|
||||||
#define PIPE_LEN 8
|
#define PIPE_LEN 8
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ztest.h>
|
#include <ztest.h>
|
||||||
#include <irq_offload.h>
|
|
||||||
|
|
||||||
#define TIMEOUT 100
|
#define TIMEOUT 100
|
||||||
#define PIPE_LEN 8
|
#define PIPE_LEN 8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue