Update stand-alone tests to use test stage work directory (#24112)
This commit is contained in:
parent
8126a13211
commit
1c07dd1adb
@ -43,8 +43,13 @@ def edit(self):
|
|||||||
|
|
||||||
@run_after('install')
|
@run_after('install')
|
||||||
def cache_test_sources(self):
|
def cache_test_sources(self):
|
||||||
|
"""Save off the pdb sources for stand-alone testing."""
|
||||||
self.cache_extra_test_sources('pdb')
|
self.cache_extra_test_sources('pdb')
|
||||||
|
|
||||||
def test(self):
|
def test(self):
|
||||||
pdb_path = join_path(self.install_test_root, 'pdb')
|
"""Perform stand-alone/smoke test on installed package."""
|
||||||
self.run_test('mkdssp', options=['1ALK.pdb', '1alk.dssp'], work_dir=pdb_path)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user