aboutsummaryrefslogtreecommitdiff
path: root/tests/machine/buildfile
diff options
context:
space:
mode:
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