Skip to content

Commit

Permalink
wine in test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tstirrat committed Jul 28, 2024
1 parent e1416db commit e382444
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ jobs:
run: |
python test.py
working-directory: ./tests
continue-on-error: true
- run: |
ls -alF
shell: bash
working-directory: ./tests/build
- name: test single rom (bash)
run: |
wine ../bgb/bgb.exe -set "DebugSrcBrk=1" -autoexit -hf -stateonexit -screenonexit build/wav_test_load_and_play.bmp build/wav_test_load_and_play.gb
wine ../bgb/bgb.exe -set "DebugSrcBrk=1" -autoexit -hf -stateonexit -screenonexit build/wav_test_load_and_play.bmp -rom build/wav_test_load_and_play.gb
working-directory: ./tests
- run: |
ls -alF
Expand Down
3 changes: 2 additions & 1 deletion tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@


result = subprocess.run([
"../bgb/bgb64.exe",
"wine",
"../bgb/bgb.exe",
"-set \"DebugSrcBrk=1\"",
"-autoexit",
"-hf",
Expand Down

0 comments on commit e382444

Please sign in to comment.