[pypy-commit] pypy default: fix test_package when faking pypy_c

bdkearns noreply at buildbot.pypy.org
Sat Apr 6 05:26:44 CEST 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r63086:086df98954ff
Date: 2013-04-05 23:26 -0400
http://bitbucket.org/pypy/pypy/changeset/086df98954ff/

Log:	fix test_package when faking pypy_c

diff --git a/pypy/tool/release/test/test_package.py b/pypy/tool/release/test/test_package.py
--- a/pypy/tool/release/test/test_package.py
+++ b/pypy/tool/release/test/test_package.py
@@ -17,7 +17,7 @@
         exe_name_in_archive = 'bin/pypy'
     pypy_c = py.path.local(pypydir).join('goal', basename)
     if not pypy_c.check():
-        os.system("echo faked_pypy_c> %s" % (pypy_c,))
+        pypy_c.write("#!/bin/sh")
         pypy_c.chmod(0755)
         fake_pypy_c = True
     else:


More information about the pypy-commit mailing list