Correct test call
This commit is contained in:
parent
b6c4793f44
commit
a09f33fe33
@ -21,4 +21,8 @@ find_package(OpenGL REQUIRED)
|
|||||||
|
|
||||||
include_directories(${OPENGL_INCLUDE_DIR})
|
include_directories(${OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
if (COVERALLS)
|
||||||
|
enable_testing()
|
||||||
|
endif (COVERALLS)
|
||||||
|
|
||||||
add_subdirectory (src)
|
add_subdirectory (src)
|
||||||
|
|||||||
@ -102,4 +102,5 @@ endif()
|
|||||||
|
|
||||||
add_executable(tines main.c paddle.c NESCarts.c)
|
add_executable(tines main.c paddle.c NESCarts.c)
|
||||||
target_link_libraries(tines apu corecpu mappermanager memorymanager pluginsmanager ppu oslib ${PTHREADLIB})
|
target_link_libraries(tines apu corecpu mappermanager memorymanager pluginsmanager ppu oslib ${PTHREADLIB})
|
||||||
add_test(tines_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/src/tines ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes)
|
|
||||||
|
add_test(NAME tines_test COMMAND $<TARGET_FILE:tines> ${PROJECT_SOURCE_DIR}/data/bad_apple_2.nes)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user