projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2c586
)
try to fix embedding test in Hudson builds
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 27 Aug 2010 16:08:06 +0000
(18:08 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 27 Aug 2010 16:08:06 +0000
(18:08 +0200)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index 710ac3b9793fb59e7feaa5b25bb2fbe14ccd2a25..a486405526576e8decb43c4c5782b50954aee9f5 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-633,8
+633,12
@@
class EmbedTest(unittest.TestCase):
def setUp(self):
self.old_dir = os.getcwd()
os.chdir(self.working_dir)
+ from distutils import sysconfig
+ libdir = sysconfig.get_config_var('LIBDIR')
+ if not os.path.isdir(libdir):
+ libdir = os.path.join(os.path.dirname(sys.executable), '../lib')
os.system(
- "make PYTHON='%s'
clean > /dev/null" % sys.executable
)
+ "make PYTHON='%s'
LIBDIR1='%s' clean > /dev/null" % (sys.executable, libdir)
)
def tearDown(self):
try: