libsepol/tests: add ebitmap tests
Preparation for several ebitmap related optimizations. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
65b3f695be
commit
490cd409e3
3 changed files with 1060 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
*/
|
||||
|
||||
#include "test-cond.h"
|
||||
#include "test-ebitmap.h"
|
||||
#include "test-linker.h"
|
||||
#include "test-expander.h"
|
||||
#include "test-deps.h"
|
||||
|
@ -64,6 +65,7 @@ static bool do_tests(int interactive, int verbose)
|
|||
if (CUE_SUCCESS != CU_initialize_registry())
|
||||
return CU_get_error();
|
||||
|
||||
DECLARE_SUITE(ebitmap);
|
||||
DECLARE_SUITE(cond);
|
||||
DECLARE_SUITE(linker);
|
||||
DECLARE_SUITE(expander);
|
||||
|
|
1048
libsepol/tests/test-ebitmap.c
Normal file
1048
libsepol/tests/test-ebitmap.c
Normal file
File diff suppressed because it is too large
Load diff
10
libsepol/tests/test-ebitmap.h
Normal file
10
libsepol/tests/test-ebitmap.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef TEST_EBITMAP_H__
|
||||
#define TEST_EBITMAP_H__
|
||||
|
||||
#include <CUnit/Basic.h>
|
||||
|
||||
int ebitmap_test_init(void);
|
||||
int ebitmap_test_cleanup(void);
|
||||
int ebitmap_add_tests(CU_pSuite suite);
|
||||
|
||||
#endif /* TEST_EBITMAP_H__ */
|
Loading…
Reference in a new issue