first public release
[dpdk.git] / app / chkincs / test.h
1 /*-
2  *   BSD LICENSE
3  * 
4  *   Copyright(c) 2010-2012 Intel Corporation. All rights reserved.
5  *   All rights reserved.
6  * 
7  *   Redistribution and use in source and binary forms, with or without 
8  *   modification, are permitted provided that the following conditions 
9  *   are met:
10  * 
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 
16  *       distribution.
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.
20  * 
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.
32  * 
33  *  version: DPDK.L.1.2.3-3
34  */
35
36 #ifndef _TEST_H_
37 #define _TEST_H_
38
39 /* icc on baremetal gives us troubles with function named 'main' */
40 #ifdef RTE_EXEC_ENV_BAREMETAL
41 #define main _main
42 #endif
43
44 int main(int argc, char **argv);
45
46 int test_alarm(void);
47 int test_atomic(void);
48 int test_branch_prediction(void);
49 int test_byteorder(void);
50 int test_common(void);
51 int test_cpuflags(void);
52 int test_cycles(void);
53 int test_debug(void);
54 int test_eal(void);
55 int test_errno(void);
56 int test_ethdev(void);
57 int test_ether(void);
58 int test_fbk_hash(void);
59 int test_hash_crc(void);
60 int test_hash(void);
61 int test_interrupts(void);
62 int test_ip(void);
63 int test_jhash(void);
64 int test_launch(void);
65 int test_lcore(void);
66 int test_log(void);
67 int test_lpm(void);
68 int test_malloc(void);
69 int test_mbuf(void);
70 int test_memcpy(void);
71 int test_memory(void);
72 int test_mempool(void);
73 int test_memzone(void);
74 int test_pci_dev_ids(void);
75 int test_pci(void);
76 int test_per_lcore(void);
77 int test_prefetch(void);
78 int test_random(void);
79 int test_ring(void);
80 int test_rwlock(void);
81 int test_sctp(void);
82 int test_spinlock(void);
83 int test_string_fns(void);
84 int test_tailq(void);
85 int test_tcp(void);
86 int test_timer(void);
87 int test_udp(void);
88 int test_version(void);
89
90 #endif