aboutsummaryrefslogtreecommitdiff
path: root/tests/test/script/integration/testscript
blob: 4c8c380c69ac28e18f1bb821156b355a1d6f333a (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
# file      : tests/test/script/integration/testscript
# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

test.options += --buildfile -
test.arguments = test

+mkdir build
#+cat <<EOI >>>build/boostrap.build
#project = test
#amalgamation =
#
#using test
#EOI
+cp $src_base/bootstrap.build build/

touch testscript foo.test;
$* <<EOI 2>>EOE != 0;
./: test{testscript foo}
EOI
error: both 'testscript' and other names specified for dir{./}
info: while testing dir{./}
EOE
rm -f testscript foo.test

-rm -f build/bootstrap.build
-rmdir build/