diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-30 19:20:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-06 20:34:25 +0200 |
commit | 8e866579cb459c5104c532d5e41d562d45236ea5 (patch) | |
tree | f72548e3499bfdc50bc1183ec014d14e6b53918c /tests/loader/buildfile | |
parent | c188831c50456754de79aadc26df74149cb00422 (diff) |
Implement loader
Diffstat (limited to 'tests/loader/buildfile')
-rw-r--r-- | tests/loader/buildfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/loader/buildfile b/tests/loader/buildfile new file mode 100644 index 0000000..1ce249f --- /dev/null +++ b/tests/loader/buildfile @@ -0,0 +1,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 |