aboutsummaryrefslogtreecommitdiff
path: root/tests/libbuild2/buildfile
blob: 1a2d59445fc66b52bd186ca822bd4f72568451d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# file      : tests/libbuild2/buildfile
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

import libs = build2%lib{build2}

for m: bash bin cc in version
  import libs += build2%lib{build2-$m}

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

# Setup the test driver. Note that by default we test the build2 driver (see
# build/root.build for details).
#
testscript@./: test = exe{driver}