Nicolas Geoffray | b2e7e24 | 2014-11-28 14:24:28 +0000 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (C) 2014 The Android Open Source Project |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 17 | # Exit on errors. |
| 18 | set -e |
| 19 | |
Nicolas Geoffray | b2e7e24 | 2014-11-28 14:24:28 +0000 | [diff] [blame] | 20 | if [ ! -d libcore ]; then |
| 21 | echo "Script needs to be run at the root of the android tree" |
| 22 | exit 1 |
| 23 | fi |
| 24 | |
Roland Levillain | 08f7c1d | 2018-05-25 15:34:41 +0100 | [diff] [blame] | 25 | # "Root" (actually "system") directory on device (in the case of |
| 26 | # target testing). |
| 27 | android_root=${ART_TEST_ANDROID_ROOT:-/system} |
Roland Levillain | 1c36188 | 2018-03-02 14:23:51 +0000 | [diff] [blame] | 28 | |
Igor Murashkin | 84f2632 | 2017-06-06 11:36:33 -0700 | [diff] [blame] | 29 | function classes_jar_path { |
| 30 | local var="$1" |
| 31 | local suffix="jar" |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 32 | if [ -z "$ANDROID_PRODUCT_OUT" ] ; then |
| 33 | local java_libraries=out/target/common/obj/JAVA_LIBRARIES |
| 34 | else |
| 35 | local java_libraries=${ANDROID_PRODUCT_OUT}/../../common/obj/JAVA_LIBRARIES |
| 36 | fi |
| 37 | echo "${java_libraries}/${var}_intermediates/classes.${suffix}" |
Igor Murashkin | 84f2632 | 2017-06-06 11:36:33 -0700 | [diff] [blame] | 38 | } |
| 39 | |
Tobias Thierer | b3ec089 | 2016-08-03 16:13:04 +0100 | [diff] [blame] | 40 | function cparg { |
| 41 | for var |
| 42 | do |
Igor Murashkin | 84f2632 | 2017-06-06 11:36:33 -0700 | [diff] [blame] | 43 | printf -- "--classpath $(classes_jar_path "$var") "; |
Tobias Thierer | b3ec089 | 2016-08-03 16:13:04 +0100 | [diff] [blame] | 44 | done |
| 45 | } |
Wojciech Staszkiewicz | 08cf148 | 2015-05-21 17:31:38 +0100 | [diff] [blame] | 46 | |
Vladimir Marko | 91f1032 | 2018-12-07 18:04:10 +0000 | [diff] [blame] | 47 | function boot_classpath_arg { |
| 48 | local dir="$1" |
Nicolas Geoffray | 31e0dc2 | 2020-03-20 15:48:09 +0000 | [diff] [blame] | 49 | shift 1 |
Vladimir Marko | 91f1032 | 2018-12-07 18:04:10 +0000 | [diff] [blame] | 50 | printf -- "--vm-arg -Xbootclasspath" |
| 51 | for var |
| 52 | do |
Nicolas Geoffray | 31e0dc2 | 2020-03-20 15:48:09 +0000 | [diff] [blame] | 53 | printf -- ":${dir}/${var}.jar"; |
Vladimir Marko | 91f1032 | 2018-12-07 18:04:10 +0000 | [diff] [blame] | 54 | done |
Victor Chang | d20e51d | 2020-05-05 16:01:19 +0100 | [diff] [blame] | 55 | printf -- ":/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar"; |
Vladimir Marko | 91f1032 | 2018-12-07 18:04:10 +0000 | [diff] [blame] | 56 | } |
| 57 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 58 | function usage { |
| 59 | local me=$(basename "${BASH_SOURCE[0]}") |
| 60 | ( |
| 61 | cat << EOF |
Orion Hodson | 656dc82 | 2019-12-12 00:06:36 +0000 | [diff] [blame] | 62 | Usage: ${me} --mode=<mode> [options] [-- <package_to_test> ...] |
Vladimir Marko | 91f1032 | 2018-12-07 18:04:10 +0000 | [diff] [blame] | 63 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 64 | Run libcore tests using the vogar testing tool. |
Wojciech Staszkiewicz | 08cf148 | 2015-05-21 17:31:38 +0100 | [diff] [blame] | 65 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 66 | Required parameters: |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 67 | --mode=device|host|jvm Specify where tests should be run. |
Nicolas Geoffray | b2e7e24 | 2014-11-28 14:24:28 +0000 | [diff] [blame] | 68 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 69 | Optional parameters: |
| 70 | --debug Use debug version of ART (device|host only). |
| 71 | --dry-run Print vogar command-line, but do not run. |
| 72 | --no-getrandom Ignore failures from getrandom() (for kernel < 3.17). |
| 73 | --no-jit Disable JIT (device|host only). |
| 74 | --Xgc:gcstress Enable GC stress configuration (device|host only). |
| 75 | |
| 76 | The script passes unrecognized options to the command-line created for vogar. |
| 77 | |
Orion Hodson | 656dc82 | 2019-12-12 00:06:36 +0000 | [diff] [blame] | 78 | The script runs a hardcoded list of libcore test packages by default. The user |
| 79 | may run a subset of packages by appending '--' followed by a list of package |
| 80 | names. |
| 81 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 82 | Examples: |
| 83 | |
| 84 | 1. Run full test suite on host: |
| 85 | ${me} --mode=host |
| 86 | |
| 87 | 2. Run full test suite on device: |
| 88 | ${me} --mode=device |
Orion Hodson | 656dc82 | 2019-12-12 00:06:36 +0000 | [diff] [blame] | 89 | |
| 90 | 3. Run tests only from the libcore.java.lang package on device: |
| 91 | ${me} --mode=device -- libcore.java.lang |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 92 | EOF |
| 93 | ) | sed -e 's/^ //' >&2 # Strip leading whitespace from heredoc. |
| 94 | } |
Roland Levillain | afd6f9e | 2016-01-11 15:51:00 +0000 | [diff] [blame] | 95 | |
Nicolas Geoffray | c3837e4 | 2014-12-03 11:30:26 +0000 | [diff] [blame] | 96 | # Packages that currently work correctly with the expectation files. |
Roland Levillain | d2f8ce1 | 2019-06-19 17:50:32 +0100 | [diff] [blame] | 97 | working_packages=("libcore.android.system" |
Roland Levillain | 9e18907 | 2019-06-19 17:51:08 +0100 | [diff] [blame] | 98 | "libcore.build" |
Roland Levillain | d2f8ce1 | 2019-06-19 17:50:32 +0100 | [diff] [blame] | 99 | "libcore.dalvik.system" |
Roland Levillain | b06e0ad | 2019-06-19 19:07:57 +0100 | [diff] [blame] | 100 | "libcore.java.awt" |
David Brazdil | 598b220 | 2015-02-24 10:12:06 +0000 | [diff] [blame] | 101 | "libcore.java.lang" |
Nicolas Geoffray | c3837e4 | 2014-12-03 11:30:26 +0000 | [diff] [blame] | 102 | "libcore.java.math" |
David Brazdil | 598b220 | 2015-02-24 10:12:06 +0000 | [diff] [blame] | 103 | "libcore.java.text" |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 104 | "libcore.java.util" |
David Brazdil | 4cd7dfd | 2015-02-24 13:33:01 +0000 | [diff] [blame] | 105 | "libcore.javax.crypto" |
Roland Levillain | e0ce8bf | 2019-06-19 18:05:51 +0100 | [diff] [blame] | 106 | "libcore.javax.net" |
David Brazdil | 598b220 | 2015-02-24 10:12:06 +0000 | [diff] [blame] | 107 | "libcore.javax.security" |
| 108 | "libcore.javax.sql" |
| 109 | "libcore.javax.xml" |
Roland Levillain | 9b41e95 | 2019-06-19 18:20:07 +0100 | [diff] [blame] | 110 | "libcore.libcore.internal" |
Andreas Gampe | e166136 | 2017-11-08 16:42:14 -0800 | [diff] [blame] | 111 | "libcore.libcore.io" |
| 112 | "libcore.libcore.net" |
| 113 | "libcore.libcore.reflect" |
| 114 | "libcore.libcore.util" |
Roland Levillain | da5e041 | 2019-06-19 18:20:32 +0100 | [diff] [blame] | 115 | "libcore.libcore.timezone" |
Roland Levillain | c0ce3d5 | 2019-06-19 17:26:01 +0100 | [diff] [blame] | 116 | "libcore.sun.invoke" |
| 117 | "libcore.sun.net" |
| 118 | "libcore.sun.misc" |
| 119 | "libcore.sun.security" |
| 120 | "libcore.sun.util" |
Roland Levillain | ad82a81 | 2019-06-19 18:29:32 +0100 | [diff] [blame] | 121 | "libcore.xml" |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 122 | "org.apache.harmony.annotation" |
David Brazdil | 4cd7dfd | 2015-02-24 13:33:01 +0000 | [diff] [blame] | 123 | "org.apache.harmony.crypto" |
David Brazdil | e2f28ad | 2015-02-24 10:44:29 +0000 | [diff] [blame] | 124 | "org.apache.harmony.luni" |
| 125 | "org.apache.harmony.nio" |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 126 | "org.apache.harmony.regex" |
David Brazdil | e2f28ad | 2015-02-24 10:44:29 +0000 | [diff] [blame] | 127 | "org.apache.harmony.testframework" |
| 128 | "org.apache.harmony.tests.java.io" |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 129 | "org.apache.harmony.tests.java.lang" |
Nicolas Geoffray | c3837e4 | 2014-12-03 11:30:26 +0000 | [diff] [blame] | 130 | "org.apache.harmony.tests.java.math" |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 131 | "org.apache.harmony.tests.java.util" |
David Brazdil | e2f28ad | 2015-02-24 10:44:29 +0000 | [diff] [blame] | 132 | "org.apache.harmony.tests.java.text" |
| 133 | "org.apache.harmony.tests.javax.security" |
Wojciech Staszkiewicz | 08cf148 | 2015-05-21 17:31:38 +0100 | [diff] [blame] | 134 | "tests.java.lang.String" |
| 135 | "jsr166") |
Nicolas Geoffray | b2e7e24 | 2014-11-28 14:24:28 +0000 | [diff] [blame] | 136 | |
Nicolas Geoffray | cdcd000 | 2015-10-31 14:47:36 +0000 | [diff] [blame] | 137 | # List of packages we could run, but don't have rights to revert |
| 138 | # changes in case of failures. |
| 139 | # "org.apache.harmony.security" |
| 140 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 141 | # |
| 142 | # Setup environment for running tests. |
| 143 | # |
| 144 | source build/envsetup.sh >&/dev/null # for get_build_var, setpaths |
| 145 | setpaths # include platform prebuilt java, javac, etc in $PATH. |
| 146 | |
| 147 | # Note: This must start with the CORE_IMG_JARS in Android.common_path.mk |
David Srbecky | 6355d69 | 2020-03-26 14:10:26 +0000 | [diff] [blame] | 148 | # because that's what we use for compiling the boot.art image. |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 149 | # It may contain additional modules from TEST_CORE_JARS. |
Victor Chang | d20e51d | 2020-05-05 16:01:19 +0100 | [diff] [blame] | 150 | BOOT_CLASSPATH_JARS="core-oj core-libart okhttp bouncycastle apache-xml" |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 151 | |
| 152 | DEPS="core-tests jsr166-tests mockito-target" |
| 153 | |
| 154 | for lib in $DEPS |
| 155 | do |
| 156 | if [[ ! -f "$(classes_jar_path "$lib")" ]]; then |
| 157 | echo "${lib} is missing. Before running, you must run art/tools/buildbot-build.sh" |
| 158 | exit 1 |
| 159 | fi |
| 160 | done |
| 161 | |
| 162 | # |
| 163 | # Defaults affected by command-line parsing |
| 164 | # |
| 165 | |
| 166 | # Use JIT compiling by default. |
| 167 | use_jit=true |
| 168 | |
Nicolas Geoffray | 622e2e2 | 2017-06-15 09:33:01 +0100 | [diff] [blame] | 169 | gcstress=false |
| 170 | debug=false |
Orion Hodson | 14f3002 | 2019-12-11 18:54:51 +0000 | [diff] [blame] | 171 | dry_run=false |
Nicolas Geoffray | 622e2e2 | 2017-06-15 09:33:01 +0100 | [diff] [blame] | 172 | |
Roland Levillain | d6e2c38 | 2019-09-18 16:13:48 +0100 | [diff] [blame] | 173 | # Run tests that use the getrandom() syscall? (Requires Linux 3.17+). |
| 174 | getrandom=true |
| 175 | |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 176 | # Execution mode specifies where to run tests (device|host|jvm). |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 177 | execution_mode="" |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 178 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 179 | # Default expectations file. |
| 180 | expectations="--expectations art/tools/libcore_failures.txt" |
| 181 | |
| 182 | vogar_args="" |
| 183 | while [ -n "$1" ]; do |
| 184 | case "$1" in |
| 185 | --mode=device) |
Nicolas Geoffray | 31e0dc2 | 2020-03-20 15:48:09 +0000 | [diff] [blame] | 186 | vogar_args="$vogar_args --mode=device" |
David Srbecky | 928d28e | 2020-04-01 17:50:51 +0100 | [diff] [blame] | 187 | vogar_args="$vogar_args --vm-arg -Ximage:/apex/com.android.art/javalib/boot.art" |
Nicolas Geoffray | 31e0dc2 | 2020-03-20 15:48:09 +0000 | [diff] [blame] | 188 | vogar_args="$vogar_args $(boot_classpath_arg /apex/com.android.art/javalib $BOOT_CLASSPATH_JARS)" |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 189 | execution_mode="device" |
| 190 | ;; |
| 191 | --mode=host) |
| 192 | # We explicitly give a wrong path for the image, to ensure vogar |
| 193 | # will create a boot image with the default compiler. Note that |
| 194 | # giving an existing image on host does not work because of |
| 195 | # classpath/resources differences when compiling the boot image. |
| 196 | vogar_args="$vogar_args $1 --vm-arg -Ximage:/non/existent/vogar.art" |
| 197 | execution_mode="host" |
| 198 | ;; |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 199 | --mode=jvm) |
| 200 | vogar_args="$vogar_args $1" |
| 201 | execution_mode="jvm" |
| 202 | ;; |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 203 | --no-getrandom) |
| 204 | getrandom=false |
| 205 | ;; |
| 206 | --no-jit) |
| 207 | use_jit=false |
| 208 | ;; |
| 209 | --debug) |
| 210 | vogar_args="$vogar_args --vm-arg -XXlib:libartd.so --vm-arg -XX:SlowDebug=true" |
| 211 | debug=true |
| 212 | ;; |
| 213 | -Xgc:gcstress) |
| 214 | vogar_args="$vogar_args $1" |
| 215 | gcstress=true |
| 216 | ;; |
| 217 | --dry-run) |
| 218 | dry_run=true |
| 219 | ;; |
Orion Hodson | 656dc82 | 2019-12-12 00:06:36 +0000 | [diff] [blame] | 220 | --) |
| 221 | shift |
| 222 | # Assume remaining elements are packages to test. |
| 223 | user_packages=("$@") |
| 224 | break |
| 225 | ;; |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 226 | --help) |
| 227 | usage |
| 228 | exit 1 |
| 229 | ;; |
| 230 | *) |
| 231 | vogar_args="$vogar_args $1" |
| 232 | ;; |
| 233 | esac |
| 234 | shift |
Nicolas Geoffray | 9648a63 | 2015-06-15 14:35:01 +0100 | [diff] [blame] | 235 | done |
| 236 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 237 | if [ -z "$execution_mode" ]; then |
| 238 | usage |
| 239 | exit 1 |
| 240 | fi |
| 241 | |
| 242 | # Default timeout, gets overridden on device under gcstress. |
| 243 | timeout_secs=480 |
| 244 | |
| 245 | if [ $execution_mode = "device" ]; then |
Roland Levillain | 08f7c1d | 2018-05-25 15:34:41 +0100 | [diff] [blame] | 246 | # Honor environment variable ART_TEST_CHROOT. |
| 247 | if [[ -n "$ART_TEST_CHROOT" ]]; then |
| 248 | # Set Vogar's `--chroot` option. |
| 249 | vogar_args="$vogar_args --chroot $ART_TEST_CHROOT" |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 250 | vogar_args="$vogar_args --device-dir=/tmp" |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 251 | else |
Roland Levillain | 08f7c1d | 2018-05-25 15:34:41 +0100 | [diff] [blame] | 252 | # When not using a chroot on device, set Vogar's work directory to |
| 253 | # /data/local/tmp. |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 254 | vogar_args="$vogar_args --device-dir=/data/local/tmp" |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 255 | fi |
Roland Levillain | 08f7c1d | 2018-05-25 15:34:41 +0100 | [diff] [blame] | 256 | vogar_args="$vogar_args --vm-command=$android_root/bin/art" |
Roland Levillain | e4f1c51 | 2017-10-30 13:28:28 +0000 | [diff] [blame] | 257 | |
Orion Hodson | af6a15c | 2019-12-11 21:48:58 +0000 | [diff] [blame] | 258 | # Increase the timeout, as vogar cannot set individual test |
| 259 | # timeout when being asked to run packages, and some tests go above |
| 260 | # the default timeout. |
| 261 | if $gcstress; then |
| 262 | if $debug; then |
| 263 | timeout_secs=1440 |
| 264 | else |
| 265 | timeout_secs=900 |
| 266 | fi |
| 267 | fi |
| 268 | fi # $execution_mode = "device" |
| 269 | |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 270 | if [ $execution_mode = "device" -o $execution_mode = "host" ]; then |
| 271 | # Add timeout to vogar command-line. |
| 272 | vogar_args="$vogar_args --timeout $timeout_secs" |
Nicolas Geoffray | f794ad7 | 2015-09-11 12:08:49 +0100 | [diff] [blame] | 273 | |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 274 | # set the toolchain to use. |
| 275 | vogar_args="$vogar_args --toolchain d8 --language CUR" |
Neil Fuller | b8300fc | 2016-02-10 13:09:10 +0000 | [diff] [blame] | 276 | |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 277 | # JIT settings. |
| 278 | if $use_jit; then |
| 279 | vogar_args="$vogar_args --vm-arg -Xcompiler-option --vm-arg --compiler-filter=quicken" |
Orion Hodson | 938ead3 | 2019-12-10 13:01:40 +0000 | [diff] [blame] | 280 | fi |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 281 | vogar_args="$vogar_args --vm-arg -Xusejit:$use_jit" |
Orion Hodson | 938ead3 | 2019-12-10 13:01:40 +0000 | [diff] [blame] | 282 | |
Orion Hodson | 0bbe28c | 2019-12-12 00:23:09 +0000 | [diff] [blame] | 283 | # gcstress may lead to timeouts, so we need dedicated expectations files for it. |
| 284 | if $gcstress; then |
| 285 | expectations="$expectations --expectations art/tools/libcore_gcstress_failures.txt" |
| 286 | if $debug; then |
| 287 | expectations="$expectations --expectations art/tools/libcore_gcstress_debug_failures.txt" |
| 288 | fi |
| 289 | else |
| 290 | # We only run this package when user has not specified packages |
| 291 | # to run and not under gcstress as it can cause timeouts. See |
| 292 | # b/78228743. |
| 293 | working_packages+=("libcore.libcore.icu") |
| 294 | fi |
| 295 | |
| 296 | if $getrandom; then :; else |
| 297 | # Ignore failures in tests that use the system calls not supported |
| 298 | # on fugu (Nexus Player, kernel version Linux 3.10). |
| 299 | expectations="$expectations --expectations art/tools/libcore_fugu_failures.txt" |
| 300 | fi |
Roland Levillain | d6e2c38 | 2019-09-18 16:13:48 +0100 | [diff] [blame] | 301 | fi |
| 302 | |
Orion Hodson | fcd5a28 | 2019-11-18 16:34:45 +0000 | [diff] [blame] | 303 | if [ ! -t 1 ] ; then |
| 304 | # Suppress color codes if not attached to a terminal |
| 305 | vogar_args="$vogar_args --no-color" |
| 306 | fi |
| 307 | |
Orion Hodson | 656dc82 | 2019-12-12 00:06:36 +0000 | [diff] [blame] | 308 | # Override working_packages if user provided specific packages to |
| 309 | # test. |
| 310 | if [[ ${#user_packages[@]} != 0 ]] ; then |
| 311 | working_packages=("${user_packages[@]}") |
| 312 | fi |
| 313 | |
Nicolas Geoffray | b2e7e24 | 2014-11-28 14:24:28 +0000 | [diff] [blame] | 314 | # Run the tests using vogar. |
Nicolas Geoffray | 3cdf818 | 2014-12-01 10:12:15 +0000 | [diff] [blame] | 315 | echo "Running tests for the following test packages:" |
| 316 | echo ${working_packages[@]} | tr " " "\n" |
Nicolas Geoffray | 793bed3 | 2018-08-22 15:07:40 +0100 | [diff] [blame] | 317 | |
| 318 | cmd="vogar $vogar_args $expectations $(cparg $DEPS) ${working_packages[@]}" |
| 319 | echo "Running $cmd" |
Orion Hodson | 14f3002 | 2019-12-11 18:54:51 +0000 | [diff] [blame] | 320 | $dry_run || eval $cmd |