File tree Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Expand file tree Collapse file tree 5 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -41,3 +41,4 @@ add_test_target(nes-unrom)
4141add_test_target(nes-unrom-512)
4242add_test_target(atari2600-4k)
4343add_test_target(atari2600-3e)
44+ add_test_target(atari8-dos)
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.18)
2+
3+ project (test -atari8-dos LANGUAGES C)
4+
5+ include (./test .cmake)
Original file line number Diff line number Diff line change 1+
2+ #include <stdio.h>
3+
4+ int main (void ) {
5+ puts ("atari says hello" );
6+ for (;;);
7+ }
Original file line number Diff line number Diff line change 1+
2+ include (../test .cmake)
3+
4+ #TODO; zp test
5+ #TODO; .bss test
6+ #TODO; .data test
7+
8+ add_a8_test(hw ../atari8-dos)
9+ set_property (TEST test -hw PROPERTY ENVIRONMENT EMUTEST_FB_CRC_PASS=000000000)
Original file line number Diff line number Diff line change @@ -31,6 +31,14 @@ function(add_no_compile_test target)
3131 set_property (TEST ${target} -no -compile PROPERTY WILL_FAIL YES )
3232endfunction ()
3333
34+ function (add_a8_test name )
35+ set (source_dir "." )
36+ if (ARGC GREATER 1)
37+ set (source_dir ${ARGV1} )
38+ endif ()
39+ add_emutest_test(${name} a26 ${source_dir} LIBRETRO_ATARI800_CORE)
40+ endfunction ()
41+
3442function (add_vcs_test name )
3543 set (source_dir "." )
3644 if (ARGC GREATER 1)
You can’t perform that action at this time.
0 commit comments