openrasmol: convert to new stand-alone test process (#38630)
This commit is contained in:
parent
43996e84c3
commit
4aed051b73
1 changed files with 10 additions and 8 deletions
|
@ -58,11 +58,13 @@ def install(self, spec, prefix):
|
||||||
bash = which("bash")
|
bash = which("bash")
|
||||||
bash("./rasmol_install.sh", "--prefix={0}".format(prefix))
|
bash("./rasmol_install.sh", "--prefix={0}".format(prefix))
|
||||||
|
|
||||||
def test(self):
|
def test_rasmol(self):
|
||||||
testdir = self.test_suite.current_test_data_dir
|
"""run rasmol on sample"""
|
||||||
opts = []
|
opts = [
|
||||||
opts.append("-insecure")
|
"-insecure",
|
||||||
opts.append("-script")
|
"-script",
|
||||||
opts.append(join_path(testdir, "test.rsc"))
|
join_path(self.test_suite.current_test_data_dir, "test.rsc"),
|
||||||
opts.append(join_path(self.prefix.sample, "1crn.pdb"))
|
join_path(self.prefix.sample, "1crn.pdb"),
|
||||||
self.run_test("rasmol", options=opts)
|
]
|
||||||
|
rasmol = which(self.prefix.bin.rasmol)
|
||||||
|
rasmol(*opts)
|
||||||
|
|
Loading…
Reference in a new issue