From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1023590-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A0B58138331
	for <garchives@archives.gentoo.org>; Sat, 12 May 2018 15:55:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F34DBE0B94;
	Sat, 12 May 2018 15:55:37 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id CE834E0B94
	for <gentoo-commits@lists.gentoo.org>; Sat, 12 May 2018 15:55:37 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DD58E335C84
	for <gentoo-commits@lists.gentoo.org>; Sat, 12 May 2018 15:55:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E87D1296
	for <gentoo-commits@lists.gentoo.org>; Sat, 12 May 2018 15:55:32 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1526140527.0814e8ae9ef04cc5c3217c801b012d681454437e.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libspectrum/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-emulation/libspectrum/libspectrum-1.4.2.ebuild
X-VCS-Directories: app-emulation/libspectrum/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 0814e8ae9ef04cc5c3217c801b012d681454437e
X-VCS-Branch: master
Date: Sat, 12 May 2018 15:55:32 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 3d07089d-eaf3-488d-a524-c8502d824b6b
X-Archives-Hash: 147dda57718c05261033db918c9711b7

commit:     0814e8ae9ef04cc5c3217c801b012d681454437e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 12 15:54:56 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 12 15:55:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0814e8ae

app-emulation/libspectrum: Fix running tests

The 'check' target builds test executable but does not run it.  Update
the ebuild to run it manually afterwards.

 app-emulation/libspectrum/libspectrum-1.4.2.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-emulation/libspectrum/libspectrum-1.4.2.ebuild b/app-emulation/libspectrum/libspectrum-1.4.2.ebuild
index 66ae4677a64..75e11f4bc84 100644
--- a/app-emulation/libspectrum/libspectrum-1.4.2.ebuild
+++ b/app-emulation/libspectrum/libspectrum-1.4.2.ebuild
@@ -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