test/dust: convert to new stand-alone test process (#38367)
This commit is contained in:
		| @@ -33,12 +33,8 @@ def check_install(self): | |||||||
|         print("stdout received fromm dust is '{}".format(output)) |         print("stdout received fromm dust is '{}".format(output)) | ||||||
|         assert "Dust " in output |         assert "Dust " in output | ||||||
| 
 | 
 | ||||||
|     def test(self): |     def test_run(self): | ||||||
|         """Run this smoke test when requested explicitly""" |         """check dust can execute (with option '--version')""" | ||||||
| 
 |         dust = which(self.prefix.bin.dust) | ||||||
|         dustpath = join_path(self.spec["dust"].prefix.bin, "dust") |         out = dust("--version", output=str.split, error=str.split) | ||||||
|         options = ["--version"] |         assert "Dust " in out | ||||||
|         purpose = "Check dust can execute (with option '--version')" |  | ||||||
|         expected = ["Dust "] |  | ||||||
| 
 |  | ||||||
|         self.run_test(dustpath, options=options, expected=expected, status=[0], purpose=purpose) |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tamara Dahlgren
					Tamara Dahlgren