Switch to Sinq CI

This commit is contained in:
2024-11-07 16:30:50 +01:00
parent fba7487f88
commit 9066e314e8
8 changed files with 29 additions and 22 deletions

View File

@ -87,7 +87,7 @@ def testCanCount(prefix, name):
def test(prefix, name):
# TODO pass prefix and name to script
proc = Popen([f'{os.environ["PARENT_PATH"]}/st.cmd'], stdout=PIPE, stderr=PIPE, shell=False)
proc = Popen([f'{os.environ["PARENT_PATH"]}/ioc.sh'], stdout=PIPE, stderr=PIPE, shell=False)
try:
stdqueue, errqueue = get_piped_output(proc)
@ -99,6 +99,11 @@ def test(prefix, name):
if 'iocRun: All initialization complete' in line:
break # IOC is now running
#time.sleep(20)
print("IOC Initialisation Complete")
print("Starting Tests")
testCanCount(prefix, name)
print("Success")