Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | # |
| 6 | # Rudimentry test suite for sysroot-creator. |
| 7 | |
| 8 | SCRIPT_DIR=$(dirname $0) |
| 9 | |
| 10 | set -o errexit |
| 11 | |
| 12 | TestUpdateAllLists() { |
| 13 | echo "[ RUN ] TestUpdateAllLists" |
| 14 | "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsAmd64 |
| 15 | "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsI386 |
| 16 | "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsARM |
| 17 | "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsAmd64 |
| 18 | "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsI386 |
| 19 | "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsARM |
| 20 | echo "[ OK ]" |
| 21 | } |
| 22 | |
| 23 | TestUpdateAllLists |