You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
562 B

#!/bin/bash
# Helper script for running CTS tests with all the right params.
# Example usage:
# run-test <module> <package_name> // To run all the tests in a package.
# run-test <module> <package_name>.<class_name> // To run all the tests in a class.
# run-test <module> <package_name>.<class_name>#<method_name> // To run a specific test in a class.
echo " "
echo "Running module $1 test...$2"
echo " "
cts-tradefed run commandAndExit cts-dev --module $1 --test $2 --disable-reboot --skip-device-info --skip-all-system-status-check --skip-preconditions