Merge pull request #96 from tyll/generate_fix

Tests: Only show missing test files when checking
This commit is contained in:
Till Maas 2019-01-10 20:21:59 +01:00 committed by GitHub
commit c0b7605c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,7 +77,7 @@ def main():
with open(other_testfile, "w") as ofile:
ofile.write(nominal_other_testfile_data)
if other_testfile not in testsfiles:
if other_testfile not in testsfiles and not generate:
missing.append(filename)
else:
with open(other_testfile) as ifile: