Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489538 - dev-util/cdiff: tests should be run in python_test()
Summary: dev-util/cdiff: tests should be run in python_test()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 08:28 UTC by Michał Górny
Modified: 2013-11-10 15:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.