aboutsummaryrefslogtreecommitdiff
path: root/tests/common.test
blob: 4d4520fd3f4b8e1c15848d409cc9487d2ef191af (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