Waf build system: fix typo in legacy_attributes (#33958)
Fix erroneous duplication of `build_time_test_callbacks` in `legacy_attributes`: one of the duplicates should be `install_time_test_callbacks`
This commit is contained in:
parent
4a71020cd2
commit
22aada0e20
@ -72,9 +72,9 @@ class WafBuilder(BaseBuilder):
|
|||||||
|
|
||||||
#: Names associated with package attributes in the old build-system format
|
#: Names associated with package attributes in the old build-system format
|
||||||
legacy_attributes = (
|
legacy_attributes = (
|
||||||
"build_time_test_callbacks",
|
|
||||||
"build_time_test_callbacks",
|
"build_time_test_callbacks",
|
||||||
"build_directory",
|
"build_directory",
|
||||||
|
"install_time_test_callbacks",
|
||||||
)
|
)
|
||||||
|
|
||||||
# Callback names for build-time test
|
# Callback names for build-time test
|
||||||
|
@ -23,8 +23,6 @@ class PyPy2cairo(WafPackage):
|
|||||||
|
|
||||||
depends_on("py-pytest", type="test")
|
depends_on("py-pytest", type="test")
|
||||||
|
|
||||||
@run_after("install")
|
|
||||||
@on_package_attributes(run_tests=True)
|
|
||||||
def install_test(self):
|
def install_test(self):
|
||||||
with working_dir("test"):
|
with working_dir("test"):
|
||||||
pytest = which("py.test")
|
pytest = which("py.test")
|
||||||
|
Loading…
Reference in New Issue
Block a user