Audio VTS: do not test duplicate policy configuration file am: ff7dcd7e4d am: ecf7848f67

am: bda21c95d3

Change-Id: I5cde31c96d3249ec1b612cfc5d9e6f48d5c2e512
This commit is contained in:
Kevin Rocard 2017-09-14 16:58:44 +00:00 committed by android-build-merger
commit 0059d60973

View file

@ -28,6 +28,7 @@ TEST(CheckConfig, audioPolicyConfigurationValidation) {
const auto configPath = folder + '/' + configName; const auto configPath = folder + '/' + configName;
if (access(configPath.c_str(), R_OK) == 0) { if (access(configPath.c_str(), R_OK) == 0) {
ASSERT_VALID_XML(configPath.c_str(), configSchemaPath); ASSERT_VALID_XML(configPath.c_str(), configSchemaPath);
return; // The framework does not read past the first config file found
} }
} }
} }