Mercurial > hg > audiodb
view MakefileLSH @ 662:01af8c56eb8d
added the first three unit tests for python bindings.
currently tests have to be manually run like this:
>python tests/InitialisationRelated.py
ensuring that the python location can see the pyadb library
(i.e. it's installed and in the search path or you've move to the local copy's location)
This should run all 3 tests with some moderate output.
All three tests should succeed.
author | map01bf |
---|---|
date | Wed, 13 Jan 2010 15:07:58 +0000 |
parents | 071a108580a4 |
children |
line wrap: on
line source
#CFLAGS= -O3 -g CFLAGS= -ggdb --save-temps MTSOURCES=mt19937/mt19937ar.c CFLAGS+=-DMT19937 GENGETOPT=gengetopt SOAPCPP2=soapcpp2 GSOAP_CPP=-lgsoap++ GSOAP_INCLUDE= TARGET=UNIT_TEST_LSH LSHOBS=UNIT_TEST_LSH.cpp lshlib.cpp LSHHDRS=lshlib.h ifeq ($(shell uname),Linux) override CFLAGS+=-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif all: ${TARGET} ${TARGET}: ${LSHOBS} ${LSHHDRS} ${MTSOURCES} MakefileLSH ${GENGETOPT} -e <gengetopt.in ${SOAPCPP2} audioDBws.h g++ -o ${TARGET} ${CFLAGS} ${LSHOBS} ${MTSOURCES}