run-tests: print a newline after all warnings stable
authorThomas Arendsen Hein <thomas@intevation.de>
Wed, 18 May 2011 15:45:57 +0200
branchstable
changeset 951 0af8a73dfe14
parent 949 dd81191ffac3
child 952 eb6ebe425bf6
child 953 cf67cd5f6834
run-tests: print a newline after all warnings [ original upstream message ]
tests/run-tests.py
--- a/tests/run-tests.py	Tue May 17 23:46:15 2011 +0200
+++ b/tests/run-tests.py	Wed May 18 15:45:57 2011 +0200
@@ -182,7 +182,7 @@
                 os.access(options.with_hg, os.X_OK)):
             parser.error('--with-hg must specify an executable hg script')
         if not os.path.basename(options.with_hg) == 'hg':
-            sys.stderr.write('warning: --with-hg should specify an hg script')
+            sys.stderr.write('warning: --with-hg should specify an hg script\n')
     if options.local:
         testdir = os.path.dirname(os.path.realpath(sys.argv[0]))
         hgbin = os.path.join(os.path.dirname(testdir), 'hg')
@@ -241,7 +241,7 @@
         options.timeout = 0
     if options.timeout and not hasattr(subprocess.Popen, 'terminate'):
         sys.stderr.write('warning: timeout is not supported on this '
-                         'platform and will be ignored')
+                         'platform and will be ignored\n')
         options.timeout = 0
     if options.py3k_warnings:
         if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0):