From 02b6fd0feacab8175260fcecc4e6706bad535a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Izaguirre?= Date: Fri, 10 Mar 2023 16:13:55 +0100 Subject: [PATCH] Pass tests on Mac --- README.md | 11 +++++++++++ e2e_woz_test.go | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ee2bc90..2e7fb6f 100644 --- a/README.md +++ b/README.md @@ -277,6 +277,17 @@ cd izapple2/frontend/a2sdl go build . ``` +### MacOS + +With a working Go installation, run: + +``` terminal +brew install SDL2 +git clone github.com/ivanizag/izapple2 +cd izapple2/frontend/a2sdl +go build . +``` + ### Windows On Windows, CGO needs a gcc compiler. Install [mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds) and the [SDL2 developer files](https://www.libsdl.org/release/) for mingw-64. diff --git a/e2e_woz_test.go b/e2e_woz_test.go index f906f25..27fbe80 100644 --- a/e2e_woz_test.go +++ b/e2e_woz_test.go @@ -55,7 +55,7 @@ func TestWoz(t *testing.T) { // Next choices {"Bouncing Kamungas", all, "Bouncing Kamungas - Disk 1, Side A.woz", 30_000_000, []int{0, 32, 0, 40, 0}}, - {"Commando", seq, "Commando - Disk 1, Side A.woz", 14_000_000, []int{0, 136, 68, 128, 68, 128, 68, 124, 12, 116, 108}}, + {"Commando", seq, "Commando - Disk 1, Side A.woz", 15_000_000, []int{0, 136, 68, 128, 68, 128, 68, 124, 12, 116, 108}}, {"Planetfall", all, "Planetfall - Disk 1, Side A.woz", 4_000_000, []int{0, 8}}, {"Rescue Raiders", all, "Rescue Raiders - Disk 1, Side B.woz", 80_000_000, []int{ 0, 84, 44, 46,