summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2021-06-08 00:30:21 -0700
committerGitHub <noreply@github.com>2021-06-08 09:30:21 +0200
commite1bd3ae4db19cc0fd92587f4ade697d06ee71a05 (patch)
tree330ac137be2dcbdcd33386114d9b91a03bc9a6f4
parent729d66a3f80f673f678bda79ed5a9f4170f4bf6c (diff)
downloadspack-e1bd3ae4db19cc0fd92587f4ade697d06ee71a05.tar.gz
spack-e1bd3ae4db19cc0fd92587f4ade697d06ee71a05.tar.bz2
spack-e1bd3ae4db19cc0fd92587f4ade697d06ee71a05.tar.xz
spack-e1bd3ae4db19cc0fd92587f4ade697d06ee71a05.zip
biobambam2: update stand-alone tests to use test stage work directory (#24111)
-rw-r--r--var/spack/repos/builtin/packages/biobambam2/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/biobambam2/package.py b/var/spack/repos/builtin/packages/biobambam2/package.py
index bafad81657..84ede800b0 100644
--- a/var/spack/repos/builtin/packages/biobambam2/package.py
+++ b/var/spack/repos/builtin/packages/biobambam2/package.py
@@ -40,7 +40,10 @@ class Biobambam2(AutotoolsPackage):
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)