Xen Test Framework
main.c
Go to the documentation of this file.
1
14#include <xtf.h>
15
16const char test_title[] = "Test availability of HVM forced emulation prefix";
17
18void test_main(void)
19{
20 if ( xtf_has_fep )
22 else
24}
25
26/*
27 * Local variables:
28 * mode: C
29 * c-file-style: "BSD"
30 * c-basic-offset: 4
31 * tab-width: 4
32 * indent-tabs-mode: nil
33 * End:
34 */
bool xtf_has_fep
Boolean indicating whether generic Force Emulation Prefix support is available for the test to use.
Definition: setup.c:276
void test_main(void)
To be implemented by each test, as its entry point.
Definition: main.c:110
const char test_title[]
The title of the test.
Definition: main.c:24
void xtf_failure(const char *fmt,...)
Report a test failure.
Definition: report.c:94
void xtf_success(const char *fmt,...)
Report test success.
Definition: report.c:38
#define NULL
Definition: stddef.h:12