Add regression test to test panning opcode.

This commit is contained in:
Veikko Sariola
2020-04-13 17:34:46 +03:00
parent f33da76d1e
commit b1ba5e9e6b
3 changed files with 657 additions and 0 deletions

View File

@ -4,5 +4,11 @@ add_test(test_envelope test_envelope)
add_executable(test_load test_load.asm test_renderer.c test_load_expected.raw)
add_test(test_load test_load)
add_executable(test_panning test_panning.asm test_renderer.c test_panning_expected.raw)
add_test(test_panning test_panning)
set_tests_properties(test_envelope PROPERTIES FIXTURES_SETUP ENVELOPE)
set_tests_properties(test_panning PROPERTIES FIXTURES_REQUIRED ENVELOPE)
file(GLOB RAW_FILES "${CMAKE_SOURCE_DIR}/tests/*.raw")
file(COPY ${RAW_FILES} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})