4 * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
11 * * Redistributions of source code must retain the above copyright
12 * notice, this list of conditions and the following disclaimer.
13 * * Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in
15 * the documentation and/or other materials provided with the
17 * * Neither the name of Intel Corporation nor the names of its
18 * contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 /* icc on baremetal gives us troubles with function named 'main' */
38 #ifdef RTE_EXEC_ENV_BAREMETAL
42 #define RECURSIVE_ENV_VAR "RTE_TEST_RECURSIVE"
44 extern const char *prgname;
46 int main(int argc, char **argv);
49 int test_memory(void);
50 int test_per_lcore(void);
51 int test_spinlock(void);
52 int test_rwlock(void);
53 int test_atomic(void);
54 int test_byteorder(void);
55 int test_prefetch(void);
56 int test_cycles(void);
58 int test_memzone(void);
61 int test_ring_perf(void);
62 int test_mempool(void);
63 int test_mempool_perf(void);
66 int test_timer_perf(void);
67 int test_malloc(void);
68 int test_memcpy(void);
69 int test_memcpy_perf(void);
71 int test_hash_perf(void);
77 int test_string_fns(void);
78 int test_mp_secondary(void);
79 int test_cpuflags(void);
80 int test_eal_flags(void);
82 int test_interrupt(void);
83 int test_version(void);
84 int test_eal_fs(void);
85 int test_cmdline(void);
86 int test_func_reentrancy(void);
93 int test_common(void);
94 int test_pmd_ring(void);
95 int test_ivshmem(void);
96 int test_distributor(void);
97 int test_distributor_perf(void);
98 int test_kvargs(void);
99 int test_devargs(void);