Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
f7a7bc6b
Commit
f7a7bc6b
authored
Sep 16, 2016
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename BUILD to TEST_TMP for bazel support.
parent
a0bbb940
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
.gitignore
.gitignore
+1
-1
.hgignore
.hgignore
+1
-1
Cython/Build/Tests/TestInline.py
Cython/Build/Tests/TestInline.py
+2
-2
Makefile
Makefile
+1
-1
docs/conf.py
docs/conf.py
+1
-1
runtests.py
runtests.py
+1
-1
tests/pyximport/pyximport_basic.srctree
tests/pyximport/pyximport_basic.srctree
+1
-1
tests/pyximport/pyximport_errors.srctree
tests/pyximport/pyximport_errors.srctree
+1
-1
tests/pyximport/pyximport_pyimport.srctree
tests/pyximport/pyximport_pyimport.srctree
+1
-1
No files found.
.gitignore
View file @
f7a7bc6b
...
...
@@ -14,7 +14,7 @@ Cython/Tempita/*.c
Tools/*.elc
BUILD
/
TEST_TMP
/
build/
!tests/build/
dist/
...
...
.hgignore
View file @
f7a7bc6b
...
...
@@ -10,7 +10,7 @@ Cython/Compiler/*.c
Cython/Plex/*.c
Cython/Runtime/refnanny.c
BUILD
/
TEST_TMP
/
build/
dist/
.git/
...
...
Cython/Build/Tests/TestInline.py
View file @
f7a7bc6b
...
...
@@ -17,8 +17,8 @@ class TestInline(CythonTest):
def
setUp
(
self
):
CythonTest
.
setUp
(
self
)
self
.
test_kwds
=
dict
(
test_kwds
)
if
os
.
path
.
isdir
(
'
BUILD
'
):
lib_dir
=
os
.
path
.
join
(
'
BUILD
'
,
'inline'
)
if
os
.
path
.
isdir
(
'
TEST_TMP
'
):
lib_dir
=
os
.
path
.
join
(
'
TEST_TMP
'
,
'inline'
)
else
:
lib_dir
=
tempfile
.
mkdtemp
(
prefix
=
'cython_inline_'
)
self
.
test_kwds
[
'lib_dir'
]
=
lib_dir
...
...
Makefile
View file @
f7a7bc6b
...
...
@@ -34,7 +34,7 @@ clean:
@
(
cd
Demos
;
$(MAKE)
clean
)
testclean
:
rm
-fr
BUILD
rm
-fr
BUILD
TEST_TMP
test
:
testclean
${PYTHON}
runtests.py
-vv
${TESTOPTS}
...
...
docs/conf.py
View file @
f7a7bc6b
...
...
@@ -100,7 +100,7 @@ today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns
=
[
'py*'
,
'build'
,
'BUILD'
]
exclude_patterns
=
[
'py*'
,
'build'
,
'BUILD'
,
'TEST_TMP'
]
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
...
...
runtests.py
View file @
f7a7bc6b
...
...
@@ -1764,7 +1764,7 @@ def main():
help="exit without error code even on test failures")
parser.add_option("--root-dir", dest="root_dir", default=os.path.join(DISTDIR, 'tests'),
help="working directory")
parser.add_option("--work-dir", dest="work_dir", default=os.path.join(os.getcwd(), '
BUILD
'),
parser.add_option("--work-dir", dest="work_dir", default=os.path.join(os.getcwd(), '
TEST_TMP
'),
help="working directory")
parser.add_option("--cython-dir", dest="cython_dir", default=os.getcwd(),
help="Cython installation directory (default: use local source version)")
...
...
tests/pyximport/pyximport_basic.srctree
View file @
f7a7bc6b
...
...
@@ -6,7 +6,7 @@ PYTHON -c "import basic_test; basic_test.test()"
import os.path
import pyximport
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "
BUILD
"))
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "
TEST_TMP
"))
def test():
import mymodule
...
...
tests/pyximport/pyximport_errors.srctree
View file @
f7a7bc6b
...
...
@@ -7,7 +7,7 @@ import os.path
from contextlib import contextmanager
import pyximport
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "
BUILD
"))
pyximport.install(build_dir=os.path.join(os.path.dirname(__file__), "
TEST_TMP
"))
@contextmanager
def fails(exc=ImportError):
...
...
tests/pyximport/pyximport_pyimport.srctree
View file @
f7a7bc6b
...
...
@@ -11,7 +11,7 @@ import pyximport.pyxbuild, Cython.Compiler.Pipeline
import distutils.core, distutils.ccompiler, distutils.command.build
pyximport.install(pyximport=False, pyimport=True,
build_dir=os.path.join(os.path.dirname(__file__), "
BUILD
"))
build_dir=os.path.join(os.path.dirname(__file__), "
TEST_TMP
"))
def test():
import mymodule
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment