util: MemoryMap test

Change-Id: I54680685326a85cfd723a47e8aef8d71662c9aeb
This commit is contained in:
Horst Schirmeier
2014-01-30 11:44:11 +01:00
parent 4bcce14659
commit 4b921a5fe3
4 changed files with 148 additions and 0 deletions

View File

@ -74,3 +74,7 @@ if (BUILD_LLVM_DISASSEMBLER)
add_subdirectory(llvmdisassembler)
endif (BUILD_LLVM_DISASSEMBLER)
### Tests
add_executable(memorymap-test testing/memorymap-test.cc)
target_link_libraries(memorymap-test fail-util)
add_test(NAME memorymap-test WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/testing COMMAND memorymap-test)