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
Gwenaël Samain
cython
Commits
9b65ddb9
Commit
9b65ddb9
authored
May 10, 2013
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build_dir test.
parent
5154198f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
tests/build/build_dir.srctree
tests/build/build_dir.srctree
+9
-12
No files found.
tests/build/build_dir.srctree
View file @
9b65ddb9
PYTHON setup.py build_ext --inplace
PYTHON -c "import a"
ls -R
if [ -f "a.c" ]; then
echo "C output in local directory."
exit 1
fi
if [ ! -f "scratch/a.c" ]; then
echo "Missing C output in scratch."
exit 1
fi
PYTHON check_paths.py
######## setup.py ########
...
...
@@ -33,4 +23,11 @@ assert value == 100
######## a_helper.h ########
int value = 100;
\ No newline at end of file
int value = 100;
######## check_paths.py ########
import os
assert os.path.exists("scratch/a.c")
assert os.path.exists("scratch/a_helper.h")
assert not os.path.exists("a.c")
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