aboutsummaryrefslogtreecommitdiff
path: root/tests/loader/buildfile
blob: 1ce249f2a54c386de5a78a3f64c021c4fa634f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# file      : tests/loader/buildfile
# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

import libs += libbpkg%lib{bpkg}
import libs += libbutl%lib{butl}
import libs += libodb-pgsql%lib{odb-pgsql}
import libs += libodb%lib{odb}

include ../../brep/

exe{driver}: cxx{driver} ../../brep/libso{brep} $libs

# Disable for now until build2 test module supports running custom
# commands, pre/post steps.
#
exe{driver}: test = false

# precondition: PostgreSQL server running port 8432 with brep schema created.
# test:
# ./driver ../../loader/brep-loader --db-host localhost --db-port 8432 ./r.conf