moa/tests
transistor fet 7dac32d844
Added github actions for PRs (#3)
* Added github actions for PRs

* Added some rustfmt::skip attributes

* Applied formatting

* Added rustfmt component in action

* Configured to use rustfmt version 2 which fixes some comment formatting

* Removed ready_for_review condition for github actions

Since it has the synchronize condition, it will update after each
commit, whether in draft or not, so I think this should be alright
2024-03-17 11:03:52 -07:00
..
harte_tests Added github actions for PRs (#3) 2024-03-17 11:03:52 -07:00
rad_tests Added github actions for PRs (#3) 2024-03-17 11:03:52 -07:00
README.md Added raddad772/jsmoo's Z80 test runner 2023-05-09 21:50:42 -07:00

Tests

This directory contains CPU tests for the 68k and Z80. The test cases themselves are provided by Tom Harte and raddad772, and must be cloned from their respective repositories before running the tests.

Downloading

To download the 68k tests, from the tests/ directory, run:

git clone git@github.com:TomHarte/ProcessorTests.git

To download the Z80 tests, from the tests/ directory, run:

git clone --no-checkout git@github.com:raddad772/jsmoo.git
cd jsmoo
git checkout origin/HEAD -- misc/tests/GeneratedTests

Running

The 68k tests can be run from the moa root with:

tests/harte_tests/run_all.sh

By default, the script will use the compressed versions of the tests which are slower to run because they must be unzipped every time the tests are run. To speed it up for repeat runs, the tests can be gunzip'ed to their own directory and the test suite location can be change on the command line or in the script to point to the uncompressed versions

The Z80 tests can be run with:

tests/rad_tests/run_all.sh

Thanks to Tom Harte and raddad772 for providing these incredibly valuable tests