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:
Daniel Erat 2010-01-12 10:31:14 -08:00
parent 7b3b9d76fb
commit 5e36dd8aec

View File

@ -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."