Add a Makefile target to run all vboot_reference tests.

Review URL: http://codereview.chromium.org/2561003
This commit is contained in:
Gaurav Shah
2010-06-03 07:49:32 -07:00
parent afdd058ebc
commit e642198b93
2 changed files with 17 additions and 0 deletions

View File

@@ -28,3 +28,6 @@ clean:
install:
$(MAKE) -C utility install
runtests:
$(MAKE) -C tests runtests

View File

@@ -96,5 +96,19 @@ verify_firmware_fuzz_driver: verify_firmware_fuzz_driver.c \
verify_kernel_fuzz_driver: verify_kernel_fuzz_driver.c rollback_index_mock.c
$(CC) $(CFLAGS) $(INCLUDES) $^ -o $@ $(LIBS)
runtests:
# Crypto tests
./run_rsa_tests.sh
./sha_tests
./run_image_verification_tests.sh
# Splicing tests
./firmware_splicing_tests
./kernel_splicing_tests
# Rollback Tests
./firmware_rollback_tests
./kernel_rollback_tests
# Helper Library Tests
./cgptlib_test
clean:
rm -f $(TEST_BINS)