diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2016-01-01 10:57:27 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2016-01-02 20:05:14 -0700 |
commit | 6a04b9217675a1a072b01ade0f2664b30f67bde6 (patch) | |
tree | bdcaa033d786abbe4dcab9bedf6565aad5d2b29b /tools | |
parent | 5132ce0ad0ff4e7c448c80eeaa806678d558f81c (diff) | |
download | python-numpy-6a04b9217675a1a072b01ade0f2664b30f67bde6.tar.gz python-numpy-6a04b9217675a1a072b01ade0f2664b30f67bde6.tar.bz2 python-numpy-6a04b9217675a1a072b01ade0f2664b30f67bde6.zip |
TST: Increase the allowable warning count to 1 for i386 debug test.
Cython generated C code contains the number '-2147483648L', which
leads to a warning on 32 bit platforms:
"Warning: this decimal constant is unsigned only in ISO C90"
See the discussion at http://stackoverflow.com/questions/9941261/
The compiled code seems to run correctly despite the warning and
if there are problems, they should turn up in the nose testing.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/travis-test.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/travis-test.sh b/tools/travis-test.sh index 939594d8c..40e266b26 100755 --- a/tools/travis-test.sh +++ b/tools/travis-test.sh @@ -50,8 +50,10 @@ setup_base() | grep -E "warning\>" \ | tee warnings # Check for an acceptable number of warnings. Some warnings are out of - # our control, so adjust the number as needed. - [[ $(wc -l < warnings) -lt 1 ]] + # our control, so adjust the number as needed. At the moment a + # cython generated code produces a warning about '-2147483648L', but + # the code seems to compile OK. + [[ $(wc -l < warnings) -lt 2 ]] fi else sysflags="$($PYTHON -c "from distutils import sysconfig; \ |