projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a724a49
)
Make unit tests testable from any directory.
author
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 4 Feb 2011 10:30:10 +0000
(
02:30
-0800)
committer
Robert Bradshaw
<robertwb@math.washington.edu>
Fri, 4 Feb 2011 10:30:10 +0000
(
02:30
-0800)
runtests.py
patch
|
blob
|
history
diff --git
a/runtests.py
b/runtests.py
index f8131451e3cca5e264616ef67db40f52153eae75..c023c81a1055a44f397a4f24f50727a38e73aac1 100644
(file)
--- a/
runtests.py
+++ b/
runtests.py
@@
-1127,7
+1127,7
@@
def main():
# RUN ALL TESTS!
UNITTEST_MODULE = "Cython"
- UNITTEST_ROOT = os.path.join(os.
getcwd(
), UNITTEST_MODULE)
+ UNITTEST_ROOT = os.path.join(os.
path.dirname(__file__
), UNITTEST_MODULE)
if WITH_CYTHON:
if os.path.exists(WORKDIR):
for path in os.listdir(WORKDIR):