aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
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/integration
parent360ee295a8c5ac1f693e38160302c1ea93bb9964 (diff)
Make tests to be a sub-project
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/buildfile9
-rw-r--r--tests/integration/testscript2
2 files changed, 7 insertions, 4 deletions
diff --git a/tests/integration/buildfile b/tests/integration/buildfile
index f054694..2f33955 100644
--- a/tests/integration/buildfile
+++ b/tests/integration/buildfile
@@ -2,7 +2,10 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : TBC; see accompanying LICENSE file
-./: ../../bbot/exe{bbot-agent bbot-worker} test{testscript} file{tftp-map}
-dir{./}: test = ../../bbot/exe{bbot-agent}
+# Setup the bbot-agent and bbot-worker that we are testing.
+#
+import agent = bbot%exe{bbot-agent}
+import worker = bbot%exe{bbot-worker}
-include ../../bbot/
+./: test{testscript} file{tftp-map} $agent $worker
+dir{./}: test = $agent
diff --git a/tests/integration/testscript b/tests/integration/testscript
index bf66324..fcb3b19 100644
--- a/tests/integration/testscript
+++ b/tests/integration/testscript
@@ -49,7 +49,7 @@ controller = --fake-request ../task --dump-result
pkg = hello
ver = 1.0.0
-rep = https://build2.org/pkg/1/stage/stable
+rep = https://build2.org/pkg/1/hello/stable
rfp = FF:DF:7D:38:67:4E:C3:82:65:7E:EE:1F:D4:80:EC:56:C4:33:5B:65:3F:9B:29:9A:30:56:B9:77:B9:F2:01:94
+cat <<"EOI" >=task
: 1