tix: old to new test API (#45223)
This commit is contained in:
		| @@ -77,12 +77,12 @@ def darwin_fix(self): | |||||||
|         if "platform=darwin" in self.spec: |         if "platform=darwin" in self.spec: | ||||||
|             fix_darwin_install_name(self.prefix.lib.Tix + str(self.version)) |             fix_darwin_install_name(self.prefix.lib.Tix + str(self.version)) | ||||||
| 
 | 
 | ||||||
|     def test(self): |     def test_tcl(self): | ||||||
|  |         """Test that tix can be loaded""" | ||||||
|         test_data_dir = self.test_suite.current_test_data_dir |         test_data_dir = self.test_suite.current_test_data_dir | ||||||
|         test_file = test_data_dir.join("test.tcl") |         test_file = test_data_dir.join("test.tcl") | ||||||
|         self.run_test( |         tcl = self.spec["tcl"].command | ||||||
|             self.spec["tcl"].command.path, test_file, purpose="test that tix can be loaded" |         tcl(test_file) | ||||||
|         ) |  | ||||||
| 
 | 
 | ||||||
|     @property |     @property | ||||||
|     def libs(self): |     def libs(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 AcriusWinter
					AcriusWinter