Xen Test Framework
test.h
Go to the documentation of this file.
1 
6 #ifndef XTF_TEST_H
7 #define XTF_TEST_H
8 
9 #include <xtf/types.h>
10 
14 void test_main(void);
15 
19 extern const char test_title[];
20 
25 extern bool xtf_has_fep;
26 
31 extern bool test_needs_fep;
32 
33 #endif /* XTF_TEST_H */
34 
35 /*
36  * Local variables:
37  * mode: C
38  * c-file-style: "BSD"
39  * c-basic-offset: 4
40  * tab-width: 4
41  * indent-tabs-mode: nil
42  * End:
43  */
Common declarations for all tests.
bool xtf_has_fep
Boolean indicating whether generic Force Emulation Prefix support is available for the test to use...
Definition: setup.c:276
bool test_needs_fep
Boolean indicating whether the test is entirely predicated on the available of the Force Emulation Pr...
Definition: setup.c:287
void test_main(void)
To be implemented by each test, as its entry point.
Definition: main.c:137
const char test_title[]
The title of the test.
Definition: main.c:14