aboutsummaryrefslogtreecommitdiff
path: root/tests/agent
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/agent
parent360ee295a8c5ac1f693e38160302c1ea93bb9964 (diff)
Make tests to be a sub-project
Diffstat (limited to 'tests/agent')
-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