1 /*
2 * Copyright (c) 2019 The Linux Foundation. All rights reserved.
3 * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
4 *
5 *
6 * Permission to use, copy, modify, and/or distribute this software for
7 * any purpose with or without fee is hereby granted, provided that the
8 * above copyright notice and this permission notice appear in all
9 * copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
12 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
13 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
14 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
15 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
16 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
17 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18 * PERFORMANCE OF THIS SOFTWARE.
19 */
20
21 #ifndef __QDF_TRACKER_TEST
22 #define __QDF_TRACKER_TEST
23
24 #if defined(CONFIG_LEAK_DETECTION) && defined(WLAN_TRACKER_TEST)
25 /**
26 * qdf_tracker_unit_test() - run the qdf tracker unit test suite
27 *
28 * Return: number of failed test cases
29 */
30 uint32_t qdf_tracker_unit_test(void);
31 #else
qdf_tracker_unit_test(void)32 static inline uint32_t qdf_tracker_unit_test(void)
33 {
34 return 0;
35 }
36 #endif /* WLAN_TRACKER_TEST */
37
38 #endif /* __QDF_TRACKER_TEST */
39
40