openrasmol: convert to new stand-alone test process (#38630)
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tamara Dahlgren
					Tamara Dahlgren