Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408571 - dev-python/egenix-mx-base-3.2.3 added test phase
Summary: dev-python/egenix-mx-base-3.2.3 added test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 10:59 UTC by Ian Delaney (RETIRED)
Modified: 2012-05-04 18:02 UTC (History)
0 users

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


Attachments
ebuild patch for egenix-mx-base-3.2.3.ebuild (egenix-mx-base.patch,1.46 KB, patch)
2012-03-17 10:59 UTC, Ian Delaney (RETIRED)
Details | Diff
revised patch (egenix-mx-base.patch,598 bytes, patch)
2012-04-26 07:44 UTC, Ian Delaney (RETIRED)
Details | Diff
revised patch (egenix-mx-base.patch,609 bytes, patch)
2012-05-01 16:01 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-03-17 10:59:09 UTC
Created attachment 305685 [details, diff]
ebuild patch for egenix-mx-base-3.2.3.ebuild

gentoo64 egenix-mx-base # USE_PYTHON="2.5 2.6 2.7" emerge =dev-python/egenix-mx-base-3.2.3::gentoo

>>> Emerging (1 of 1) dev-python/egenix-mx-base-3.2.3
>>> Installing (1 of 1) dev-python/egenix-mx-base-3.2.3

And to make up yet another test phase that has been 'missed'.

gentoo64 egenix-mx-base # USE_PYTHON="2.6 2.7" ebuild egenix-mx-base-3.2.3.ebuild clean test
-------------------------------------------------------------------------

Works.
Testing URL version 3.2.3 ...
 Join tests.
 Component tests.
Works.

Benchmark: basestr='http://a/b/c/d' relstr='../../g'
 urlparse.urljoin(basestr,relstr): 0.013 msec.
 URL.urljoin(basestr,relstr): 0.0008 msec.
 baseurl+URL(relstr): 0.0006 msec.
 baseurl+RawURL(relstr): 0.0004 msec.
 baseurl+relstr: 0.0006 msec.
 basestr + "/" + relstr: 0.0002 msec.
 URL(basestr+relstr): 0.0004 msec.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-04-26 07:44:12 UTC
Created attachment 310151 [details, diff]
revised patch
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-04-28 17:37:23 UTC
There are also other test files. Majority of them pass. I have added a correct src_test() in Progress Overlay.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-05-01 16:01:50 UTC
Created attachment 310579 [details, diff]
revised patch

quite right. Anything you can do.  See extended version in overlay.
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2012-05-01 17:34:47 UTC
curious.

You should only look at mx/XYZ/mxXYZ/test.py, not the other ones.
The modules sometimes include test scripts for specific scenarios
that are not necessarily valid anymore.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, May 01 2012)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/  
________________________________________________________________________
2012-04-26: Released mxODBC 3.1.2                 http://egenix.com/go28
2012-04-25: Released eGenix mx Base 3.2.4         http://egenix.com/go27

seems I was right in the 1st place. Go with patch from Comment 1.
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-04 18:02:56 UTC
+*egenix-mx-base-3.2.4 (04 May 2012)
+
+  04 May 2012; Kacper Kowalik <xarthisius@gentoo.org>
+  +egenix-mx-base-3.2.4.ebuild:
+  Version bump with enabled test suite by Ian Delaney <johneed@hotmail.com>.
+  Fixes #408571
+