tix: old to new test API (#45223)
This commit is contained in:
parent
35bd21fc64
commit
8be1f26ac6
@ -77,12 +77,12 @@ def darwin_fix(self):
|
||||
if "platform=darwin" in self.spec:
|
||||
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_file = test_data_dir.join("test.tcl")
|
||||
self.run_test(
|
||||
self.spec["tcl"].command.path, test_file, purpose="test that tix can be loaded"
|
||||
)
|
||||
tcl = self.spec["tcl"].command
|
||||
tcl(test_file)
|
||||
|
||||
@property
|
||||
def libs(self):
|
||||
|
Loading…
Reference in New Issue
Block a user