[PATCH] D35947: [lit] Fix order of checks in shtest-shell.py test

Brian Gesiak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 09:22:26 PDT 2017


modocache updated this revision to Diff 108488.
modocache edited the summary of this revision.
modocache added a comment.

Update commit message


https://reviews.llvm.org/D35947

Files:
  utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
  utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py


Index: utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
===================================================================
--- utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
+++ utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
@@ -1,4 +1,10 @@
 #!/usr/bin/env python
+
 import sys
+
+
 sys.stdout.write("a line on stdout\n")
+sys.stdout.flush()
+
 sys.stderr.write("a line on stderr\n")
+sys.stderr.flush()
Index: utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
===================================================================
--- utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
+++ utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
@@ -1,3 +1,7 @@
 #!/usr/bin/env python
+
 import sys
+
+
 sys.stderr.write("a line on stderr\n")
+sys.stderr.flush()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35947.108488.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/6d30c5db/attachment.bin>


More information about the llvm-commits mailing list