summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/python/preproc_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/test-suite/python/preproc_runme.py')
-rw-r--r--trunk/Examples/test-suite/python/preproc_runme.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/preproc_runme.py b/trunk/Examples/test-suite/python/preproc_runme.py
new file mode 100644
index 000000000..c989294b6
--- /dev/null
+++ b/trunk/Examples/test-suite/python/preproc_runme.py
@@ -0,0 +1,14 @@
+import preproc
+
+if preproc.endif != 1:
+ raise RuntimeError
+
+if preproc.define != 1:
+ raise RuntimeError
+
+if preproc.defined != 1:
+ raise RuntimeError
+
+if 2*preproc.one != preproc.two:
+ raise RuntimeError
+