MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / LoadTestsFile

Function LoadTestsFile

Scripts/guest_test_runner.py:54–65  ·  view source on GitHub ↗
(File)

Source from the content-addressed store, hash-verified

52 return False
53
54def LoadTestsFile(File):
55 Dict = {}
56 if not os.path.exists(File):
57 return Dict
58
59 with open(File) as dtf:
60 for line in dtf:
61 test = line.split("#")[0].strip() # remove comments and empty spaces
62 if len(test) > 0:
63 Dict[test] = 1
64
65 return Dict
66
67def LoadTestsFileResults(File):
68 Dict = {}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected