diff options
author | Chris Green <greenc@fnal.gov> | 2022-11-18 15:22:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 22:22:51 +0100 |
commit | e715901cb2b5d7392f40c9a8ffb8eaf8eb075497 (patch) | |
tree | 71f83a9be41458b9ac6bb8243d1ad6fc247fb74d /var | |
parent | 1db914f567d8294c9d1b2dad9e0db576d1989802 (diff) | |
download | spack-e715901cb2b5d7392f40c9a8ffb8eaf8eb075497.tar.gz spack-e715901cb2b5d7392f40c9a8ffb8eaf8eb075497.tar.bz2 spack-e715901cb2b5d7392f40c9a8ffb8eaf8eb075497.tar.xz spack-e715901cb2b5d7392f40c9a8ffb8eaf8eb075497.zip |
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 <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builder.test/packages/old-style-autotools/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
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" |