Make sure to flush output when writing dots during -R runs
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 31e4eaf..6f6436f 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -682,6 +682,7 @@
         rc = sys.gettotalrefcount()
         run_the_test()
         sys.stderr.write('.')
+        sys.stderr.flush()
         dash_R_cleanup(fs, ps, pic)
         if i >= nwarmup:
             deltas.append(sys.gettotalrefcount() - rc - 2)