mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
build: Get rid of manually-maintained lists of tests.
BUG=chromium-os:1245 TEST=ran scripts/build_tests.sh and scripts/run_tests.sh Review URL: http://codereview.chromium.org/541020
This commit is contained in:
parent
7b3b9d76fb
commit
5e36dd8aec
@ -23,10 +23,8 @@ set -ex
|
|||||||
TESTS_DIR="$FLAGS_build_root/x86/tests"
|
TESTS_DIR="$FLAGS_build_root/x86/tests"
|
||||||
cd "$TESTS_DIR"
|
cd "$TESTS_DIR"
|
||||||
|
|
||||||
# TODO: standardize test names - should all end in "_test" so we can find
|
# TODO: standardize test names - should all end in "_test"
|
||||||
# and run them without listing them explicitly.
|
for i in *_test *_tests *_unittests; do ./${i}; done
|
||||||
./pam_google_unittests
|
|
||||||
for i in *_test; do ./${i}; done
|
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
echo "All tests passed."
|
echo "All tests passed."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user