aboutsummaryrefslogtreecommitdiff
path: root/tests/agent/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/agent/buildfile')
-rw-r--r--tests/agent/buildfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/agent/buildfile b/tests/agent/buildfile
index 7e93da0..3dc4ef5 100644
--- a/tests/agent/buildfile
+++ b/tests/agent/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} file{btrfs-cpdir btrfs-rmdir}
-dir{./}: test = ../../bbot/exe{bbot-agent}
+# Setup the bbot-agent that we are testing.
+#
+import agent = bbot%exe{bbot-agent}
-include ../../bbot/
+./: test{testscript} file{btrfs-cpdir btrfs-rmdir} $agent
+dir{./}: test = $agent