package audit: ensure stand-alone test method not include in build-phase testing (#30352)
This commit is contained in:
@@ -16,8 +16,8 @@ class TestBuildCallbacks(Package):
|
||||
version('1.0', '0123456789abcdef0123456789abcdef')
|
||||
|
||||
phases = ['build', 'install']
|
||||
# set to undefined method
|
||||
build_time_test_callbacks = ['undefined-build-test']
|
||||
# Include undefined method (runtime failure) and 'test' (audit failure)
|
||||
build_time_test_callbacks = ['undefined-build-test', 'test']
|
||||
run_after('build')(Package._run_default_build_time_test_callbacks)
|
||||
|
||||
def build(self, spec, prefix):
|
||||
|
Reference in New Issue
Block a user