aboutsummaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/README
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/python/README')
-rw-r--r--Examples/test-suite/python/README9
1 files changed, 5 insertions, 4 deletions
diff --git a/Examples/test-suite/python/README b/Examples/test-suite/python/README
index 71db759b5..402724c23 100644
--- a/Examples/test-suite/python/README
+++ b/Examples/test-suite/python/README
@@ -1,8 +1,9 @@
See ../README for common README file.
-Any testcases which have _runme.py (or _runme3.py for Python 3) appended after the testcase name will be detected and run.
+Any testcases which have _runme.py appended after the testcase name will be detected and run.
-If you intend to write a testcase for both Python 2.x and 3.x, do *not* directly put the _runme3.py in this directory. Just write Python 2.x's _runme.py testcase and it will be automatically converted to Python 3 code during test.
+The _runme.py files needs to work for both Python 2.x and 3.x.
-You can run make with PY3=y to run test case with Python 3.x, eg.
- $ make voidtest.cpptest PY3=y
+By default testcases are run with Python 3. You can run make with PY2=1 to run test case with Python 2, eg.
+
+ $ make voidtest.cpptest PY2=1