diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-06 19:13:54 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-12-06 19:13:54 +0100 |
commit | 9e8b57d6e6c5cee76af12bce27efb81041676314 (patch) | |
tree | 26f1cff162a0703ed9674a468f266dba20c6e04a /emu/tests/CMakeLists.txt | |
parent | 655ee84ba2304b2fe85b28290580338d29a68c3c (diff) | |
download | 6502-9e8b57d6e6c5cee76af12bce27efb81041676314.tar.gz 6502-9e8b57d6e6c5cee76af12bce27efb81041676314.tar.bz2 |
added testing framework (check)
Diffstat (limited to 'emu/tests/CMakeLists.txt')
-rw-r--r-- | emu/tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emu/tests/CMakeLists.txt b/emu/tests/CMakeLists.txt new file mode 100644 index 0000000..5011371 --- /dev/null +++ b/emu/tests/CMakeLists.txt @@ -0,0 +1,4 @@ +add_executable(test_cpu_6502 test_cpu_6502.c) +target_link_libraries(test_cpu_6502 ${CHECK_LIBRARIES} pthread) + +add_test(NAME test_cpu_6502 COMMAND test_cpu_6502 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/tests) |