]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commit
Reintroduce the test_NULL_unmapped() selftest
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 6 Mar 2016 20:26:12 +0000 (20:26 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Sun, 6 Mar 2016 20:26:21 +0000 (20:26 +0000)
commit14f98c2f917045861ba2b8f9931afb9be6131929
tree60f525c7010c4a7c95bd1271f93f6f4ef0a61d37
parent989150f5f0ac3f4fee5ef8f0b9375ea3688bf11f
Reintroduce the test_NULL_unmapped() selftest

c/s f571b0b "Implement the hvm32 environment" introduced a guard to the
test_NULL_unmapped() selftest, as it is inapplicable in an unpaged
environment.

However, CONFIG_PAGING wasn't ever defined (it disappeared during
development), causing the selftest to be unconditionally omitted even in paged
environments.

Reintroduce the check, based on CONFIG_PAGING_LEVELS being non-zero.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tests/selftest/main.c