~chrisvaughn/gearmand/devel

« back to all changes in this revision

Viewing changes to tests/postgres.am

  • Committer: root
  • Date: 2012-02-05 05:40:05 UTC
  • Revision ID: root@cvaughn.yv.local-20120205054005-m8o3vuynx6gekebx
fixes postgres bug and adds testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# All paths should be given relative to the root
11
11
#
12
12
 
13
 
test-postgres: tests-postgres-args
14
 
 
15
 
tests-postgres-args: gearmand/gearmand
16
 
if HAVE_LIBPQ
17
 
        @gearmand/gearmand --check-args --libpq-conninfo="foo" --libpq-table="gearmand"
18
 
endif
 
13
test-postgres: tests/postgres_test
 
14
        @tests/postgres_test
 
15
 
 
16
gdb-postgres: tests/postgres_test
 
17
        @$(GDB_COMMAND) tests/postgres_test
 
18
 
 
19
tests_postgres_test_SOURCES= \
 
20
                            tests/basic.cc \
 
21
                            tests/postgres_test.cc
 
22
tests_postgres_test_CXXFLAGS=
 
23
tests_postgres_test_DEPENDENCIES= ${CLIENT_LDADD} gearmand/gearmand
 
24
tests_postgres_test_LDADD= ${CLIENT_LDADD}
 
25
 
 
26
check_PROGRAMS += tests/postgres_test
 
27
noinst_PROGRAMS += tests/postgres_test