Skip to content

Commit

Permalink
app-emulation/libspectrum: Fix running tests
Browse files Browse the repository at this point in the history
The 'check' target builds test executable but does not run it.  Update
the ebuild to run it manually afterwards.
  • Loading branch information
mgorny committed May 12, 2018
1 parent c78ccc3 commit 0814e8a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app-emulation/libspectrum/libspectrum-1.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ src_configure() {
econf "${myconf[@]}"
}

src_test() {
# check only builds test executable but doesn't run it
emake check
./test/test || die
}

src_install() {
default
dodoc doc/*.txt *.txt
Expand Down

0 comments on commit 0814e8a

Please sign in to comment.