~juju-qa/ubuntu/yakkety/juju/2.0-rc3-32bit

« back to all changes in this revision

Viewing changes to debian/tests/current-lxd-provider

  • Committer: Nicholas Skaggs
  • Date: 2016-10-12 17:08:22 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161012170822-5bx4t9dr6rs4gjxi
Change messaging to suggest unsupported arch
Re-use existing juju-2.0 package
Update Autopkgtest's to skip on unsupported arch's

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
set -ex
3
3
 
4
 
sh debian/tests/setup-lxd.sh
5
 
ln /var/log/lxd/lxd.log "$ADT_ARTIFACTS/lxd.log"
6
 
sh debian/tests/normal-user.sh debian/tests/lxd-provider
 
4
ARCH=`dpkg --print-architecture`
 
5
if [ "$ARCH" = "amd64" -o "$ARCH" = "arm64" -o "$ARCH" = "ppc64el" -o "$ARCH" = "s390x" ]
 
6
then
 
7
        sh debian/tests/setup-lxd.sh
 
8
        ln /var/log/lxd/lxd.log "$ADT_ARTIFACTS/lxd.log"
 
9
        sh debian/tests/normal-user.sh debian/tests/lxd-provider
 
10
else
 
11
        echo "SKIP: Unsupported Architecture"
 
12
        exit 0
 
13
fi