diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2021-07-14 13:33:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 13:33:50 -0700 |
commit | 1c07dd1adb044b6e399849cccf852a463ab1a30e (patch) | |
tree | 4369709ede7210e48ea0c75811865dfde93fbdb3 /var | |
parent | 8126a13211bdbdb3a354d418f6a952106450845a (diff) | |
download | spack-1c07dd1adb044b6e399849cccf852a463ab1a30e.tar.gz spack-1c07dd1adb044b6e399849cccf852a463ab1a30e.tar.bz2 spack-1c07dd1adb044b6e399849cccf852a463ab1a30e.tar.xz spack-1c07dd1adb044b6e399849cccf852a463ab1a30e.zip |
Update stand-alone tests to use test stage work directory (#24112)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dssp/package.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/dssp/package.py b/var/spack/repos/builtin/packages/dssp/package.py index 2128467714..b9487741df 100644 --- a/var/spack/repos/builtin/packages/dssp/package.py +++ b/var/spack/repos/builtin/packages/dssp/package.py @@ -43,8 +43,13 @@ class Dssp(AutotoolsPackage): @run_after('install') def cache_test_sources(self): + """Save off the pdb sources for stand-alone testing.""" self.cache_extra_test_sources('pdb') def test(self): - pdb_path = join_path(self.install_test_root, 'pdb') - self.run_test('mkdssp', options=['1ALK.pdb', '1alk.dssp'], work_dir=pdb_path) + """Perform stand-alone/smoke test on installed package.""" + pdb_path = join_path(self.test_suite.current_test_cache_dir, 'pdb') + self.run_test('mkdssp', options=['1ALK.pdb', '1alk.dssp'], + purpose='test: calculating structure for example', + installed=True, + work_dir=pdb_path) |