summaryrefslogtreecommitdiff
path: root/odb-tests/mysql/native/buildfile
blob: 1ae02121c42872a9fef82161300729d2c95826a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# file      : mysql/native/buildfile
# license   : GNU GPL v2; see accompanying LICENSE file

if ($build.meta_operation != 'dist')
{
  assert ($mysql) "mysql should be configured for this test"
  assert (!$multi) "multi-database mode is not supported by this test"
}

import libs  = libodb-mysql%lib{odb-mysql}
import libs += lib{common}

exe{driver}: {hxx cxx}{*} $libs testscript

cxx.poptions =+ "-I$out_base" "-I$src_base"

# Testscript's run-time prerequisites.
#
exe{driver}: ../../alias{mysql-client}: include = adhoc