File:  [HATARI the Atari ST Emulator] / hatari / tests / natfeats / CMakeLists.txt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:58:46 2019 UTC (7 years, 3 months ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, HEAD
hatari 2.2.0


set(testrunner ${CMAKE_CURRENT_SOURCE_DIR}/run_test.sh)

if(ENABLE_WINUAE_CPU)

 foreach (lvl RANGE 0 4)
  add_test(NAME natfeats-680${lvl}0-fast
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --compatible false --cpu-exact false)
  add_test(NAME natfeats-680${lvl}0-compatible
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --compatible true --cpu-exact false)
  add_test(NAME natfeats-680${lvl}0-cpuexact
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --compatible false --cpu-exact true)
  if (${lvl} GREATER 2)
  add_test(NAME natfeats-680${lvl}0-mmu
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --mmu true)
  endif()
 endforeach(lvl)
 add_test(NAME natfeats-68060
          COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel 6 --mmu false)
 add_test(NAME natfeats-68060-mmu
          COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel 6 --mmu true)

else(ENABLE_WINUAE_CPU)

 foreach (lvl RANGE 0 4)
  add_test(NAME natfeats-680${lvl}0-fast
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --compatible false)
  add_test(NAME natfeats-680${lvl}0-compatible
           COMMAND ${testrunner} $<TARGET_FILE:hatari> --cpulevel ${lvl} --compatible true)
 endforeach(lvl)

endif(ENABLE_WINUAE_CPU)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.