Diff of /codesys-ide/scripts/runtest.py [8d987c] .. [9fd219]  Maximize  Restore

Switch to unified view

a/codesys-ide/scripts/runtest.py b/codesys-ide/scripts/runtest.py
...
...
9
system.prompt_handling = PromptHandling.None
9
system.prompt_handling = PromptHandling.None
10
10
11
# compile category GUID
11
# compile category GUID
12
CompileCategory = Guid("{97F48D64-A2A3-4856-B640-75C046E37EA9}")
12
CompileCategory = Guid("{97F48D64-A2A3-4856-B640-75C046E37EA9}")
13
13
14
15
def runtest():
14
def runtest():
16
#    devId = device_repository.create_device_identification(4096, '0000 0001', '3.5.15.0')
15
#    devId = device_repository.create_device_identification(4096, '0000 0001', '3.5.15.0')
17
    devId = None
16
    devId = None
18
    devices = device_repository.get_all_devices("CODESYS Control Win V3")
17
    devices = device_repository.get_all_devices("CODESYS Control Win V3")
19
    for device in devices:
18
    for device in devices:
...
...
96
class SearchBuildDo(helper.SearchBuild):
95
class SearchBuildDo(helper.SearchBuild):
97
    # Test rules for:
96
    # Test rules for:
98
    # - *.library
97
    # - *.library
99
    def doit(self, filename):
98
    def doit(self, filename):
100
        artifacts = list()
99
        artifacts = list()
101
100
        helper.install_requirements(filename, librarymanager)
101
        
102
        if filename.endswith(".library"):
102
        if filename.endswith(".library"):
103
            print("\n\n*** Test: %s" % filename)
103
            print("\n\n*** Test: %s" % filename)
104
            proj = projects.open(filename)
104
            proj = projects.open(filename)
105
            if not runtest():
105
            if not runtest():
106
                self.error = True
106
                self.error = True