Xen Test Framework
tests
fep
main.c
Go to the documentation of this file.
1
14
#include <xtf.h>
15
16
const
char
test_title
[] =
"Test availability of HVM forced emulation prefix"
;
17
18
void
test_main
(
void
)
19
{
20
if
(
xtf_has_fep
)
21
xtf_success
(
NULL
);
22
else
23
xtf_failure
(
NULL
);
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
*/
xtf_has_fep
bool xtf_has_fep
Boolean indicating whether generic Force Emulation Prefix support is available for the test to use.
Definition:
setup.c:276
test_main
void test_main(void)
To be implemented by each test, as its entry point.
Definition:
main.c:110
test_title
const char test_title[]
The title of the test.
Definition:
main.c:24
xtf_failure
void xtf_failure(const char *fmt,...)
Report a test failure.
Definition:
report.c:94
xtf_success
void xtf_success(const char *fmt,...)
Report test success.
Definition:
report.c:38
NULL
#define NULL
Definition:
stddef.h:12
Generated by
1.9.4