Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320267 - dev-python/pyrex should run test suite in Demos/
Summary: dev-python/pyrex should run test suite in Demos/
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-17 19:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2018-04-20 21:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Alternatively, patch the Makefile so our default src_test will pick it up, and have something to mail upstream :) (pyrex-0.9.9-test.patch,186 bytes, patch)
2010-05-17 20:00 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2010-05-17 19:58:43 UTC
pyrex has some simple tests we could run in the Demos subdir. Running `emake -C Demos test' works nicely.

Index: pyrex-0.9.9.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.9.9.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 pyrex-0.9.9.ebuild
--- pyrex-0.9.9.ebuild  13 Apr 2010 15:56:07 -0000      1.1
+++ pyrex-0.9.9.ebuild  17 May 2010 19:57:59 -0000
@@ -29,6 +29,10 @@
 
 DOCS="CHANGES.txt ToDo.txt USAGE.txt"
 
+src_test() {
+       emake -C Demos test || die "emake test failed"
+}
+
 src_install() {
        distutils_src_install
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-17 20:00:22 UTC
Created attachment 231851 [details, diff]
Alternatively, patch the Makefile so our default src_test will pick it up, and have something to mail upstream :)
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-17 21:27:56 UTC
Comment on attachment 231851 [details, diff]
Alternatively, patch the Makefile so our default src_test will pick it up, and have something to mail upstream :)

Ah, now I know why they don't have that. It only seems to work post-install.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-20 21:21:51 UTC
This package is so dead, I don't really see a purpose in testing whether it will actually not use the installed version.