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:
Sharron LIU 2017-02-13 14:30:12 +08:00 committed by Anas Nashif
commit bceabf6a4f
6 changed files with 0 additions and 12 deletions

View file

@ -19,7 +19,6 @@
*/
#include <ztest.h>
#include <irq_offload.h>
#include "test_mpool.h"
/** TESTPOINT: Statically define and initialize a memory pool*/

View file

@ -10,7 +10,6 @@ extern void test_mslab_kinit(void);
extern void test_mslab_kdefine(void);
extern void test_mslab_kdefine_extern(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_timeout(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_extern),
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_timeout),
ztest_unit_test(test_mslab_used_get));

View file

@ -21,7 +21,6 @@
*/
#include <ztest.h>
#include <irq_offload.h>
#include "test_mslab.h"
/** TESTPOINT: Statically define and initialize a memory slab*/
@ -160,11 +159,6 @@ void test_mslab_alloc_free_thread(void)
tmslab_alloc_free(&mslab);
}
void test_mslab_alloc_free_isr(void)
{
irq_offload(tmslab_alloc_free, &mslab);
}
void test_mslab_alloc_align(void)
{
tmslab_alloc_align(&mslab);

View file

@ -18,7 +18,6 @@
*/
#include <ztest.h>
#include <irq_offload.h>
#define TIMEOUT 500
#define STACK_SIZE 512

View file

@ -17,7 +17,6 @@
*/
#include <ztest.h>
#include <irq_offload.h>
#define STACK_SIZE 512
#define PIPE_LEN 8

View file

@ -16,7 +16,6 @@
*/
#include <ztest.h>
#include <irq_offload.h>
#define TIMEOUT 100
#define PIPE_LEN 8