Skip to content

Commit

Permalink
Run ROM tests from make
Browse files Browse the repository at this point in the history
  • Loading branch information
LiarPrincess committed Nov 9, 2020
1 parent 8dc0fa2 commit e39e6ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ build:
test:
swift test

testRom:
swift run "GameBoyKitROMTests"

clean:
swift package clean

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ let package = Package(
// http://gbdev.gg8.se/files/roms/blargg-gb-tests/
.target(
name: "GameBoyKitROMTests",
dependencies: [],
dependencies: ["GameBoyKit"],
path: "Tests/GameBoyKitROMTests"
),

Expand Down

0 comments on commit e39e6ad

Please sign in to comment.