~ubuntu-branches/debian/stretch/openbabel/stretch

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2008-07-22 23:54:58 UTC
  • mfrom: (3.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080722235458-3o606czluviz4akx
Tags: 2.2.0-2
* Upload to unstable.
* debian/control: Updated descriptions.
* debian/patches/gauss_cube_format.patch: New patch, makes the 
  gaussian cube format available again.
* debian/rules (DEB_DH_MAKESHLIBS_ARGS_libopenbabel3): Removed.
* debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Likewise.
* debian/libopenbabel3.install: Adjust formats directory to single 
  version hierarchy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
SUBDIRS = cmltest
2
2
 
3
 
noinst_PROGRAMS = obtest matrixtest ringtest smartstest roundtrip
 
3
# Only compile these when running "make check"
 
4
check_PROGRAMS = aromatic atom bond cansmi cmlreadfile \
 
5
        conversion data format formula formalcharge \
 
6
        ffghemical ffuff ffmmff94 inchiwrite \
 
7
        internalcoord invalidsmarts invalidsmiles \
 
8
        iterators logp_psa math mol phmodel \
 
9
        residue rings smarts \
 
10
        smilesmatch unitcell
 
11
 
 
12
bin_PROGRAMS = roundtrip
 
13
 
 
14
if PERL_TESTS
 
15
# Use perl's "prove" script and some wrapper .pl scripts to run tests
 
16
# (This provides a nicer summary and verbose results on request)
 
17
TESTS = wrapper.sh
 
18
else
 
19
# Standard automake tests (if we don't have prove)
 
20
TESTS = cansmi invalidsmarts invalidsmiles smarts rings unitcell \
 
21
        $(top_srcdir)/test/cml.sh $(top_srcdir)/test/test-set.sh
 
22
endif
4
23
 
5
24
LDADD = ../src/libopenbabel.la @LIBDL@
6
 
AM_CPPFLAGS = -I$(top_srcdir)/src -DTESTDATADIR="\"$(top_srcdir)/test/\""
7
 
 
8
 
EXTRA_DIST = smartsresults.txt smartstest.txt unitcell.txt ringresults.txt attype.00.smi cml.sh test-set.sh smartstest.sh ringtest.sh
9
 
 
10
 
TESTS = matrixtest smartstest.sh ringtest.sh obtest  $(srcdir)/test-set.sh
11
 
 
12
 
if BUILD_XML
13
 
TESTS += $(srcdir)/cml.sh
14
 
endif
15
 
 
16
 
obtest_SOURCES = main.cpp unitcell.cpp
17
 
matrixtest_SOURCES = matrixtest.cpp
18
 
ringtest_SOURCES = ringtest.cpp
19
 
smartstest_SOURCES = smartstest.cpp
 
25
TESTDATADIR = $(top_srcdir)/test/files/
 
26
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -DTESTDATADIR="\"$(TESTDATADIR)\""
 
27
 
 
28
EXTRA_DIST = files wrapper.sh cml.sh test-set.sh \
 
29
                aromatic.pl inchi inchi.pl inchi2.pl CMakeLists.txt 
 
30
 
20
31
roundtrip_SOURCES = roundtrip.cpp
21
32
 
 
33
# Unit Test binaries
 
34
aromatic_SOURCES = aromatest.cpp
 
35
atom_SOURCES = atom.cpp
 
36
bond_SOURCES = bond.cpp
 
37
cansmi_SOURCES = cansmi.cpp
 
38
cmlreadfile_SOURCES = cmlreadfile.cpp
 
39
conversion_SOURCES = conversion.cpp
 
40
data_SOURCES = data.cpp
 
41
ffghemical_SOURCES = ffghemical.cpp
 
42
ffuff_SOURCES = ffuff.cpp
 
43
ffmmff94_SOURCES = ffmmff94.cpp
 
44
format_SOURCES = format.cpp
 
45
formula_SOURCES = formula.cpp
 
46
formalcharge_SOURCES = formalcharge.cpp
 
47
inchiwrite_SOURCES = inchiwrite.cpp ../src/formats/getinchi.cpp
 
48
internalcoord_SOURCES = internalcoord.cpp
 
49
invalidsmiles_SOURCES = invalidsmiles.cpp
 
50
invalidsmarts_SOURCES = invalidsmarts.cpp
 
51
iterators_SOURCES = iterators.cpp
 
52
logp_psa_SOURCES = logp_psa.cpp
 
53
math_SOURCES = math.cpp
 
54
mol_SOURCES = mol.cpp
 
55
phmodel_SOURCES = phmodel.cpp
 
56
residue_SOURCES = residue.cpp
 
57
rings_SOURCES = ringtest.cpp
 
58
smarts_SOURCES = smartstest.cpp
 
59
smilesmatch_SOURCES = smilesmatch.cpp
 
60
unitcell_SOURCES = unitcell.cpp