Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7105

Trying to run build time tests using nosetest for python-pysam

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python
Subject Trying to run build time tests using nosetest for python-pysam
Date Wed, 15 Jul 2015 14:30:02 +0200
Message-ID <pMtZ0-7p7-23@gated-at.bofh.it> (permalink)
References <pLI41-3eb-5@gated-at.bofh.it>
X-Original-To debian-med@lists.debian.org, debian-python@lists.debian.org
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-5.599 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MEDS2=2, RP_MATCHES_RCVD=-0.599] autolearn=no
X-Policyd-Weight using cached result; rate: -6.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.5.23 (2014-03-12)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12406
List-ID <debian-python.lists.debian.org>
List-URL <http://lists.debian.org/debian-python/>
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 15 Jul 2015 14:21:48 +0200
X-Original-Message-ID <20150715122148.GC17501@an3as.eu>
X-Original-References <20150710152238.GA11016@an3as.eu>
Xref aioe.org linux.debian.maint.python:7105

Show key headers only | View raw


Hi,

I tried to add build-time tests for python-pysam[1].  I admit I'm a bit
confused about the fact that this involves compiler calls like:

...
warning: no files found matching 'tests/tabix_data'
writing manifest file 'pysam.egg-info/SOURCES.txt'
skipping 'pysam/csamtools.c' Cython extension (up-to-date)
building 'pysam.csamtools' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -  fPIC -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE= -Isamtools -Ipysam -I/usr/include -I/usr/include/python2.7 -c pysam/csamtools.c -o build/temp.linux-x86_64-2.7/pysam/csamtools.o -Wno-          error=declaration-after-statement -DSAMTOOLS=1
...

and that it finally ends with

...
In file included from pysam/cfaidx.c:261:0:
pysam/htslib_util.h:12:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 int hts_get_verbosity();
 ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-   protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/pysam/cfaidx.o -Lpysam -lz -lhts -o build/lib.linux-x86_64-2.7/pysam/cfaidx.so

----------------------------------------------------------------------
Ran 0 tests in 0.010s

OK

(same result with python3).

I wonder what I'm missing here and how the build time test could be
properly runned.

Kind regards

        Andreas.

[1] git://anonscm.debian.org/debian-med/python-pysam.git 

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: https://lists.debian.org/20150715122148.GC17501@an3as.eu

Back to linux.debian.maint.python | Previous | Next | Find similar


Thread

Trying to run build time tests using nosetest for python-pysam Andreas Tille <andreas@an3as.eu> - 2015-07-15 14:30 +0200

csiph-web