7import isystem.connect
as ic
13def test_buildActions():
14 connMgr = ic.ConnectionMgr()
15 connMgr.connect(ic.CConnectionConfig().instanceId(winidea_id))
17 projCtrl = ic.CProjectController(connMgr)
24 print(
"Action: 'Make'...")
26 _waitUntilBusy(projCtrl)
37 print(f
"Is up-to-date: {projCtrl.isUpToDate()}")
40def _waitUntilBusy(projCtrl: ic.CProjectController):
42 timeoutTimestamp = time.time() + 120
43 while projCtrl.getStatus().isActive()
is True:
44 if time.time() > timeoutTimestamp:
45 assert False, f
"Build timeout (120 sec)"
48if __name__ ==
"__main__":