summaryrefslogtreecommitdiff
path: root/Drivers/CMSIS/DSP/DSP_Lib_TestSuite/Common/src/all_tests.c
blob: 1e471f9dee0236d3f79c136a10fa0ec812ca0554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#include "jtest.h"
#include "basic_math_test_group.h"
#include "complex_math_test_group.h"
#include "controller_test_group.h"
#include "fast_math_test_group.h"
#include "filtering_test_group.h"
#include "matrix_test_group.h"
#include "statistics_test_group.h"
#include "support_test_group.h"
#include "transform_test_group.h"
#include "intrinsics_test_group.h"

JTEST_DEFINE_GROUP(all_tests)
{
  /*
    To skip a test, comment it out
  */
#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_BASICMATH_TESTS)
  JTEST_GROUP_CALL(basic_math_tests);
#endif 

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_COMPLEXMATH_TESTS)
  JTEST_GROUP_CALL(complex_math_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_CONTROLLER_TESTS)
  JTEST_GROUP_CALL(controller_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_FASTMATH_TESTS)
  JTEST_GROUP_CALL(fast_math_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_FILTERING_TESTS)
  /* Biquad df2T_f32 will fail with Neon. The test must be updated.
  Neon implementation is requiring a different initialization.
  */
  JTEST_GROUP_CALL(filtering_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_MATRIX_TESTS)
  JTEST_GROUP_CALL(matrix_tests);
#endif 

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_STATISTICS_TESTS)
  JTEST_GROUP_CALL(statistics_tests);
#endif()

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_SUPPORT_TESTS)
  JTEST_GROUP_CALL(support_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_TRANSFORM_TESTS)
  JTEST_GROUP_CALL(transform_tests);
#endif

#if !defined(CUSTOMIZE_TESTS) || defined(ENABLE_INTRINSICS_TESTS)
  JTEST_GROUP_CALL(intrinsics_tests);
#endif

  return;
}