Skip to content

Commit

Permalink
Merge pull request #529 from yamt/macos-make-test
Browse files Browse the repository at this point in the history
scripts/test.py: Fix infinite busy loops on macOS
  • Loading branch information
geky authored Jun 12, 2021
2 parents 3d4e4f2 + 3bee4d9 commit 2f75968
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ def test(self, exec=[], persist=False, cycles=None,
if e.errno == errno.EIO:
break
raise
if not line:
break;
stdout.append(line)
if args.get('verbose'):
sys.stdout.write(line)
Expand Down Expand Up @@ -687,6 +689,8 @@ def main(**args):
if e.errno == errno.EIO:
break
raise
if not line:
break;
stdout.append(line)
if args.get('verbose'):
sys.stdout.write(line)
Expand Down

0 comments on commit 2f75968

Please sign in to comment.