biobambam2: update stand-alone tests to use test stage work directory (#24111)

This commit is contained in:
Tamara Dahlgren 2021-06-08 00:30:21 -07:00 committed by GitHub
parent 729d66a3f8
commit e1bd3ae4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,10 @@ def cache_test_sources(self):
self._fix_shortsort()
def test(self):
test_dir = join_path(self.install_test_root, self.test_src_dir)
"""Perform stand-alone/smoke test on installed package."""
test_dir = join_path(self.test_suite.current_test_cache_dir,
self.test_src_dir)
self.run_test('sh', ['testshortsort.sh'],
expected='Alignments sorted by coordinate.',
purpose='test: checking alignments',
work_dir=test_dir)