Index: build/linux/sysroot_scripts/sysroot-creator-test.sh |
diff --git a/build/linux/sysroot_scripts/sysroot-creator-test.sh b/build/linux/sysroot_scripts/sysroot-creator-test.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..b346bb70885c2a399b714c2200e7934b2f11f689 |
--- /dev/null |
+++ b/build/linux/sysroot_scripts/sysroot-creator-test.sh |
@@ -0,0 +1,23 @@ |
+#!/bin/sh |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+# |
+# Rudimentry test suite for sysroot-creator. |
+ |
+SCRIPT_DIR=$(dirname $0) |
+ |
+set -o errexit |
+ |
+TestUpdateAllLists() { |
+ echo "[ RUN ] TestUpdateAllLists" |
+ "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsAmd64 |
+ "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsI386 |
+ "$SCRIPT_DIR/sysroot-creator-trusty.sh" UpdatePackageListsARM |
+ "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsAmd64 |
+ "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsI386 |
+ "$SCRIPT_DIR/sysroot-creator-wheezy.sh" UpdatePackageListsARM |
+ echo "[ OK ]" |
+} |
+ |
+TestUpdateAllLists |