[Jython-checkins] jython: Documentation and minor improvements for jython_regrtest.bat

jeff.allen jython-checkins at python.org
Tue Oct 20 22:29:03 CEST 2015


https://hg.python.org/jython/rev/9b3a8c5808a6
changeset:   7761:9b3a8c5808a6
user:        Jeff Allen <ja.py at farowl.co.uk>
date:        Tue Oct 20 19:58:47 2015 +0100
summary:
  Documentation and minor improvements for jython_regrtest.bat

This follows up on #2393 but does not yet try to get right the list of
expected failures necessary to exclude wholesale for a clean run.

files:
  Lib/test/regrtest.py          |   2 +-
  README.txt                    |   8 ++++++++
  src/shell/jython_regrtest.bat |  11 ++++++-----
  3 files changed, 15 insertions(+), 6 deletions(-)


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -1415,7 +1415,7 @@
             if not sys.platform in ("mac", "darwin"):
                 MAC_ONLY = ["test_macos", "test_macostools", "test_aepack",
                             "test_plistlib", "test_scriptpackages",
-                            "test_applesingle.pyingle"]
+                            "test_applesingle"]
                 for skip in MAC_ONLY:
                     self.expected.add(skip)
             elif len(u'\0'.encode('unicode-internal')) == 4:
diff --git a/README.txt b/README.txt
--- a/README.txt
+++ b/README.txt
@@ -19,6 +19,14 @@
 Java 7 to run.
 
 Please try this release out and report any bugs at http://bugs.jython.org
+You can test your installation of Jython (not the standalone JAR) by running
+the regression tests, with the command:
+
+jython -m test.regrtest -e -m regrtest_memo.txt
+
+For Windows, there is a simple script to do this: jython_regrtest.bat. In
+either case, the memo file regrtest_memo.txt will be useful in the bug report
+if you see test failures. The regression tests can take about half an hour.
 
 Please see ACKNOWLEDGMENTS for details about Jython's copyright,
 license, contributors, and mailing lists; and NEWS for detailed
diff --git a/src/shell/jython_regrtest.bat b/src/shell/jython_regrtest.bat
--- a/src/shell/jython_regrtest.bat
+++ b/src/shell/jython_regrtest.bat
@@ -1,7 +1,8 @@
+ at echo off
+rem Simple script (for Windows) that runs all the regression tests expected to pass.
+rem It leaves a memo file regrtest_memo.txt that will be useful in a bug report.
 
-
+setlocal
 set JY_PATH=%~dp0
-
-%JY_PATH%\jython.exe -m test.regrtest -e -m regrtest_memo.txt 
-
-
+ at echo on
+%JY_PATH%jython.exe -m test.regrtest -e -m regrtest_memo.txt

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list