aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/generated/testscript
blob: 572c73f0a09f78f20cb8f56682061f625f7b990b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# file      : tests/test/script/generated/testscript
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

test.arguments = test clean

# Note: using common.test from test/, not script/.
#
.include ../../common.test

# @@ in module
#
+cat <<EOI >+build/bootstrap.build
using version
EOI
+cat <<EOI >=manifest
: 1
name: test
version: 1.2.3
EOI

+cat <<EOI >=build/root.build
using cxx
EOI

: testscript
:
ln -s $src_base/driver.cxx ./;
ln -s $src_base/testscript.in ./;
$* <<EOI
exe{driver}: cxx{driver} test{testscript}
test{testscript}: in{testscript} $src_root/file{manifest} #@@ in module
test{testscript}: in.symbol = '@'
EOI