one cpu on windows for executing tests
This commit is contained in:
parent
83c261977d
commit
aa3f201ced
@ -461,6 +461,11 @@ def main():
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
# Windows does not play nice with multiple files opened by different processes
|
||||||
|
# "The process cannot access the file because it is being used by another process"
|
||||||
|
if platform.system() == 'Windows':
|
||||||
|
args.cpu_count = 1
|
||||||
|
|
||||||
# Default sanitizer is tsan
|
# Default sanitizer is tsan
|
||||||
sanitizer = args.sanitizer
|
sanitizer = args.sanitizer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user