~psivaa/ubuntu-test-cases/test-touch-wifi-reboot

« back to all changes in this revision

Viewing changes to scripts/boottest.sh

  • Committer: Francis Ginther
  • Date: 2015-06-02 20:53:16 UTC
  • mfrom: (394.2.8 boottest-fix-install)
  • Revision ID: francis.ginther@canonical.com-20150602205316-2n4tkv7ijntaejod
Install boottest binary packages during getinstalledpkgs, removing that responsibility from the boottest dep8 test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
        RET=$?
180
180
        set -e
181
181
else
182
 
        FROM=${TESTS}/boottest/debian/tests/control.template
183
 
        TARGET=${TESTS}/boottest/debian/tests/control
184
 
 
185
 
        # Inject the binary packages built previously
186
 
        BIN_PACKAGES=$(tr '\n' ',' < ${PKG_SRC_DIR}/artifacts/needs_install.packages | sed -e s/,$//)
187
 
        sed -e "s/{{ bin_packages }}/${BIN_PACKAGES}/"  ${FROM} > ${TARGET}
188
 
 
189
182
        # Now execute the boot test
190
183
        set +e
191
184
        ${ADT_CMD} --unbuilt-tree ${TESTS}/boottest -o results ${ADT_OPTS}