Author: Remi Meier <[email protected]>
Branch: 
Changeset: r258:3e317d4ac80d
Date: 2013-06-24 15:00 +0200
http://bitbucket.org/pypy/stmgc/changeset/3e317d4ac80d/

Log:    add demo_random as a test

diff --git a/c4/test/test_zdemo_random.py b/c4/test/test_zdemo_random.py
new file mode 100644
--- /dev/null
+++ b/c4/test/test_zdemo_random.py
@@ -0,0 +1,13 @@
+import py
+import os
+import subprocess
+
+def test_and_run():
+    path = os.path.dirname(__file__)
+    path = os.path.dirname(path)
+    res = subprocess.call(["make", "debug-demo_random"], cwd=path)
+    assert not res
+    res = subprocess.call(["./debug-demo_random"], cwd=path)
+    assert not res
+    
+    
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to