aboutsummaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-18 13:31:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-18 14:59:53 +0300
commitb895ba115548e1ae6d17e11f7c95a895195f0e94 (patch)
tree172c9fe7a80f223eb0cdca6abf7e762a53c43272 /tests/integration
parentf9048ed23d68c3a36060acd50c73c80d759c5a3f (diff)
Adapt to non-optional task target
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/testscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/integration/testscript b/tests/integration/testscript
index fcb3b19..2ae3b3c 100644
--- a/tests/integration/testscript
+++ b/tests/integration/testscript
@@ -26,6 +26,7 @@ sudo /usr/sbin/in.tftpd \
#\
machine = linux-gcc
+target = x86_64-linux-gnu
c = gcc
cxx = g++
@@ -58,6 +59,7 @@ 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
repository: $rep
trust: $rfp
machine: $machine
+ target: $target
EOI
#
@@ -83,7 +85,7 @@ a = $0
: worker
:
{
- cat <<"EOI" >=default;
+ cat <<"EOI" >=$target;
#!/bin/sh
t="\$1"
@@ -91,8 +93,8 @@ a = $0
exec "\$@" cc config.c=$c config.cxx=$cxx
EOI
- chmod ugo+x default;
+ chmod ugo+x $target;
sleep $wait;
$w --verbose 3 --startup --tftp-host $tftp --environments $~ \
- &$machine/*** &manifest 2>|
+ &build/*** &manifest 2>|
}