2da69f2551
cairo's in order to work correctly - use USE_LIBTOOL - add do-regress target ok maintainer
19 lines
776 B
Plaintext
19 lines
776 B
Plaintext
$OpenBSD: patch-test_test_test,v 1.1 2007/03/26 20:32:11 alek Exp $
|
|
--- test/test.test.orig Sun Mar 25 19:33:35 2007
|
|
+++ test/test.test Sun Mar 25 19:33:54 2007
|
|
@@ -9,12 +9,12 @@
|
|
>>> os.chdir (_dir)
|
|
>>> files = [f for f in os.listdir('.') if f.endswith('.py')]
|
|
>>> for f in files:
|
|
-... ret = os.system ('python %s' % f) # return value is system dependent
|
|
+... ret = os.system ('!!MODPY_BIN!! %s' % f) # return value is system dependent
|
|
... if ret != 0 and sys.platform.startswith('linux'):
|
|
... print 'Error:', f, 'returned', ret
|
|
|
|
# run png snippets
|
|
->>> cmd = 'python snippets_png.py -s'
|
|
+>>> cmd = '!!MODPY_BIN!! snippets_png.py -s'
|
|
>>> _dir = os.path.join(cwd, '..', 'examples', 'cairo_snippets')
|
|
>>> os.chdir (_dir)
|
|
>>> ret = os.system (cmd)
|