summaryrefslogtreecommitdiff
path: root/test/baseline
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline')
-rw-r--r--test/baseline/feat-option_py.test14
-rw-r--r--test/baseline/featoption.py5
2 files changed, 19 insertions, 0 deletions
diff --git a/test/baseline/feat-option_py.test b/test/baseline/feat-option_py.test
new file mode 100644
index 00000000..a67b27c3
--- /dev/null
+++ b/test/baseline/feat-option_py.test
@@ -0,0 +1,14 @@
+python
+ def option_pyfirst(context):
+ print "In --pyfirst (from %s)" % context
+
+ def option_pysecond(context, val):
+ print "In --pysecond=%s (from %s)" % (val, context)
+
+--pyfirst
+--pysecond Hey
+
+test reg
+In --pyfirst (from $sourcepath/test/baseline/feat-option_py.test)
+In --pysecond=Hey (from $sourcepath/test/baseline/feat-option_py.test)
+end test
diff --git a/test/baseline/featoption.py b/test/baseline/featoption.py
new file mode 100644
index 00000000..caa4f2bc
--- /dev/null
+++ b/test/baseline/featoption.py
@@ -0,0 +1,5 @@
+def option_pyfirst(context):
+ print "In --pyfirst (from %s)" % context
+
+def option_pysecond(context, val):
+ print "In --pysecond=%sh (from %s)" % (val, context)