Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489538

Summary: dev-util/cdiff: tests should be run in python_test()
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Status: RESOLVED FIXED    
Severity: QA CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-10-27 08:28:17 UTC
src_test() {
    python_export_best

    ${PYTHON} tests/test_cdiff.py || die "Unit tests failed."

    ./tests/regression.sh || die "Regression tests failed."
}

which means that package is built for max 4 Python versions but tested only for one of them. Please use python_test() instead and test for each version, or disable multi-version support.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-10 15:04:21 UTC
Thank you very much.

+  10 Nov 2013; Tom Wijsman <TomWij@gentoo.org> cdiff-0.9.2.ebuild,
+  cdiff-0.9.3.ebuild, cdiff-9999.ebuild:
+  Sync up 0.9.2, 0.9.3 and 9999 versions, as they were not edited together;
+  changed src_test to python_test as requested by mgorny, fixes bug #489538.