Commit 45c9c682 authored by Dan Shi's avatar Dan Shi
Browse files

Add a repo hook to validate TEST_MAPPING file.

TEST_MAPPING is a json file can exist anywhere in the Android Source
tree. It has a specific format to list tests to run in presubmit or
postsubmit (go/test-mapping). Instead of waiting for presubmit to fail
for an invalid TEST_MAPPING file, a repo hook is way more efficient
on validating the format.

Bug: 77805721
Test: unittest
Change-Id: Ia1440ce46029d7a59a915d22ccbb585bdf98298e
parent 2ee871c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment