diff options
author | AcriusWinter <152348900+AcriusWinter@users.noreply.github.com> | 2024-07-15 17:31:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 17:31:02 -0700 |
commit | 8be1f26ac629c29ff3ce7fb2b2928286bb0307af (patch) | |
tree | 808ed752b701a922e73c995dd82c20161025ed77 | |
parent | 35bd21fc641763ee4f75fc5a13819c14927da083 (diff) | |
download | spack-8be1f26ac629c29ff3ce7fb2b2928286bb0307af.tar.gz spack-8be1f26ac629c29ff3ce7fb2b2928286bb0307af.tar.bz2 spack-8be1f26ac629c29ff3ce7fb2b2928286bb0307af.tar.xz spack-8be1f26ac629c29ff3ce7fb2b2928286bb0307af.zip |
tix: old to new test API (#45223)
-rw-r--r-- | var/spack/repos/builtin/packages/tix/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/tix/package.py b/var/spack/repos/builtin/packages/tix/package.py index c9513d5e9b..2a055fce50 100644 --- a/var/spack/repos/builtin/packages/tix/package.py +++ b/var/spack/repos/builtin/packages/tix/package.py @@ -77,12 +77,12 @@ class Tix(AutotoolsPackage): if "platform=darwin" in self.spec: fix_darwin_install_name(self.prefix.lib.Tix + str(self.version)) - def test(self): + def test_tcl(self): + """Test that tix can be loaded""" test_data_dir = self.test_suite.current_test_data_dir test_file = test_data_dir.join("test.tcl") - self.run_test( - self.spec["tcl"].command.path, test_file, purpose="test that tix can be loaded" - ) + tcl = self.spec["tcl"].command + tcl(test_file) @property def libs(self): |