Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
cython
Commits
9b65ddb9
Commit
9b65ddb9
authored
11 years ago
by
Robert Bradshaw
Browse files
Options
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")
This diff is collapsed.
Click to expand it.
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