Skip to content

Commit

Permalink
Update mooneye_gb_tests and mealybug_tests targets to use a var for t…
Browse files Browse the repository at this point in the history
…he test to run
  • Loading branch information
maxfierke committed Jan 4, 2025
1 parent b887e92 commit 9cac2dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ dmg_acid2: bin/gogo-gb tests/dmg-acid2/dmg-acid2.gb
--ui

.PHONY: mealybug_tests
mealybug_tests: tests/mealybug-tearoom-tests/build/ppu/*.gb
bin/gogo-gb --cart "tests/mealybug-tearoom-tests/build/ppu/m3_scy_change.gb" \
mealybug_tests: bin/gogo-gb tests/mealybug-tearoom-tests/build/ppu/*.gb
bin/gogo-gb --cart "tests/mealybug-tearoom-tests/build/ppu/$(MEALYBUG_TEST).gb" \
--log=stderr \
--serial-port=stdout \
--ui

.PHONY: mooneye_gb_tests
mooneye_gb_tests: tests/mooneye-gb-test-suite/acceptance/*.gb
bin/gogo-gb --cart "tests/mooneye-gb-test-suite/acceptance/ppu/hblank_ly_scx_timing-GS.gb" \
mooneye_gb_tests: bin/gogo-gb tests/mooneye-gb-test-suite/**/*.gb
bin/gogo-gb --cart "tests/mooneye-gb-test-suite/$(MOONEYE_TEST).gb" \
--log=stderr \
--serial-port=stdout \
--ui
Expand All @@ -123,7 +123,7 @@ tests/gb-test-roms/mem_timing/individual/*.gb:
git submodule init
git submodule update

tests/mooneye-gb-test-suite/acceptance/*.gb:
tests/mooneye-gb-test-suite/**/*.gb:
mkdir -p tests/mooneye-gb-test-suite
curl -fSsL https://gekkio.fi/files/mooneye-test-suite/$(MOONEYE_TEST_SUITE_VERION)/$(MOONEYE_TEST_SUITE_VERION).tar.xz > tests/mooneye-gb-test-suite/$(MOONEYE_TEST_SUITE_VERION).tar.xz
tar -xf tests/mooneye-gb-test-suite/$(MOONEYE_TEST_SUITE_VERION).tar.xz -C tests/mooneye-gb-test-suite --strip-components=1
Expand Down

0 comments on commit 9cac2dd

Please sign in to comment.