Skip to content

Commit

Permalink
Enable More Unit Tests (Bareflank#580)
Browse files Browse the repository at this point in the history
This is a small patch that enables more unit tests

[ISSUE]: Bareflank#576

Signed-off-by: “rianquinn” <“rianquinn@gmail.com”>
  • Loading branch information
rianquinn authored and JaredWright committed Mar 2, 2018
1 parent 54a36ee commit 389dd0c
Showing 1 changed file with 15 additions and 26 deletions.
41 changes: 15 additions & 26 deletions bfvmm/tests/hve/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,30 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DEXIT_HANDLER_TEST")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DEXIT_HANDLER_TEST")

do_test(test_exit_handler
SOURCES arch/intel_x64/exit_handler/test_exit_handler.cpp
list(APPEND ARGN
DEPENDS bfvmm_hve
DEPENDS bfvmm_memory_manager
DEFINES STATIC_HVE
DEFINES STATIC_MEMORY_MANAGER
DEFINES STATIC_INTRINSICS
)

do_test(test_exit_handler
SOURCES arch/intel_x64/exit_handler/test_exit_handler.cpp
${ARGN}
)

do_test(test_exit_handler_entry
SOURCES arch/intel_x64/exit_handler/test_exit_handler_entry.cpp
DEPENDS bfvmm_hve
DEPENDS bfvmm_memory_manager
DEFINES STATIC_HVE
DEFINES STATIC_MEMORY_MANAGER
DEFINES STATIC_INTRINSICS
${ARGN}
)

# do_test(test_vmcs
# SOURCES arch/intel_x64/vmcs/test_vmcs.cpp
# DEPENDS bfvmm_hve
# DEPENDS bfvmm_memory_manager
# DEFINES STATIC_HVE
# DEFINES STATIC_MEMORY_MANAGER
# DEFINES STATIC_INTRINSICS
# )
do_test(test_vmcs
SOURCES arch/intel_x64/vmcs/test_vmcs.cpp
${ARGN}
)

# do_test(test_vmxon
# SOURCES arch/intel_x64/vmxon/test_vmxon.cpp
# DEPENDS bfvmm_hve
# DEPENDS bfvmm_memory_manager
# DEFINES STATIC_HVE
# DEFINES STATIC_MEMORY_MANAGER
# DEFINES STATIC_INTRINSICS
# )
do_test(test_vmxon
SOURCES arch/intel_x64/vmxon/test_vmxon.cpp
${ARGN}
)

0 comments on commit 389dd0c

Please sign in to comment.