summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2017-09-14 16:52:54 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-09-14 16:52:54 +0000
commit6e72cba5c342d71cee1672877844d82cf3c3f10f (patch)
treeaa4bd8869504258663692d877cca400ab69f91de /audio
parent99bd58cf4be16a7b860803e66cd5dd9140576439 (diff)
parentecf7848f67f0e9c06612fd7552d592eef7260a11 (diff)
downloadplatform_hardware_interfaces-6e72cba5c342d71cee1672877844d82cf3c3f10f.tar.gz
platform_hardware_interfaces-6e72cba5c342d71cee1672877844d82cf3c3f10f.tar.bz2
platform_hardware_interfaces-6e72cba5c342d71cee1672877844d82cf3c3f10f.zip
Audio VTS: do not test duplicate policy configuration file am: ff7dcd7e4d
am: ecf7848f67 Change-Id: I781f6eeeb75f3a0d6feed1278a49699e024c2128
Diffstat (limited to 'audio')
-rw-r--r--audio/2.0/vts/functional/ValidateAudioConfiguration.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/2.0/vts/functional/ValidateAudioConfiguration.cpp b/audio/2.0/vts/functional/ValidateAudioConfiguration.cpp
index ee490239bf..ec3259a1e3 100644
--- a/audio/2.0/vts/functional/ValidateAudioConfiguration.cpp
+++ b/audio/2.0/vts/functional/ValidateAudioConfiguration.cpp
@@ -28,6 +28,7 @@ TEST(CheckConfig, audioPolicyConfigurationValidation) {
const auto configPath = folder + '/' + configName;
if (access(configPath.c_str(), R_OK) == 0) {
ASSERT_VALID_XML(configPath.c_str(), configSchemaPath);
+ return; // The framework does not read past the first config file found
}
}
}