Fix detecting of to-be-tested changes on Windows

This commit is contained in:
Thom Wiggers 2020-02-19 11:53:14 -05:00
父節點 f13961dbfc
當前提交 acf7760f4d
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 001BB0A7CE26E363

查看文件

@ -245,6 +245,8 @@ def permit_test(testname, *args, **kwargs):
assert diff_result.returncode == 0, \
"Got unexpected return code {}".format(diff_result.returncode)
for diff_line in diff_result.stdout.decode('utf-8').splitlines():
# Git still returns UNIX-style paths on Windows, normalize
diff_line = os.path.normpath(diff_line)
# don't skip test if there are any changes outside schemes
if (not diff_line.startswith('crypto_kem') and
not diff_line.startswith('crypto_sign') and