From e715901cb2b5d7392f40c9a8ffb8eaf8eb075497 Mon Sep 17 00:00:00 2001 From: Chris Green Date: Fri, 18 Nov 2022 15:22:51 -0600 Subject: PackageBase should not define builder legacy attributes (#33942) * Add a regression test for 33928 * PackageBase should not set `(build|install)_time_test_callbacks` * Fix audits by preserving the current semantic Co-authored-by: Massimiliano Culpo --- .../repos/builder.test/packages/old-style-autotools/package.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builder.test/packages/old-style-autotools/package.py b/var/spack/repos/builder.test/packages/old-style-autotools/package.py index 56213d7158..5335519984 100644 --- a/var/spack/repos/builder.test/packages/old-style-autotools/package.py +++ b/var/spack/repos/builder.test/packages/old-style-autotools/package.py @@ -48,3 +48,9 @@ class OldStyleAutotools(AutotoolsPackage): @run_after("autoreconf", when="@2.0") def after_autoreconf_2(self): os.environ["AFTER_AUTORECONF_2_CALLED"] = "1" + + def check(self): + os.environ["CHECK_CALLED"] = "1" + + def installcheck(self): + os.environ["INSTALLCHECK_CALLED"] = "1" -- cgit v1.2.3-70-g09d2