aboutsummaryrefslogtreecommitdiff
path: root/tests/machine/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-13 22:19:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-14 18:04:46 +0300
commit8e8d599b129d35f638f2c1957c869b054a38b021 (patch)
tree3678e5e4e1d63cde262327f637a1a5d49f069a29 /tests/machine/buildfile
parent360ee295a8c5ac1f693e38160302c1ea93bb9964 (diff)
Make tests to be a sub-project
Diffstat (limited to 'tests/machine/buildfile')
-rw-r--r--tests/machine/buildfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/machine/buildfile b/tests/machine/buildfile
index a9f6ac3..fb532fc 100644
--- a/tests/machine/buildfile
+++ b/tests/machine/buildfile
@@ -2,7 +2,9 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : TBC; see accompanying LICENSE file
-./: ../../bbot/exe{bbot-agent} test{testscript}
-dir{./}: test = ../../bbot/exe{bbot-agent}
+# Setup the bbot-agent that we are testing.
+#
+import agent = bbot%exe{bbot-agent}
-include ../../bbot/
+./: test{testscript} $agent
+dir{./}: test = $agent