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

# Commonly-used build system test project setup and driver command line.
#

+mkdir build
+cat <<EOI >>>build/bootstrap.build
project = test
amalgamation =
EOI

test = $effect($build.path)
test.options += -q --buildfile -

# By default just load the buildfile.
#
if ($empty($test.arguments))
  test.arguments = noop
end