diff --git a/audio/test/low_bandwidth_audio_test.py b/audio/test/low_bandwidth_audio_test.py index 0744889c64..c048098f73 100755 --- a/audio/test/low_bandwidth_audio_test.py +++ b/audio/test/low_bandwidth_audio_test.py @@ -233,6 +233,14 @@ def _ConfigurePythonPath(args): args.build_dir, 'pyproto', 'tracing', 'tracing', 'proto') sys.path.insert(0, histogram_proto_path) + logging.info('Contents of build dir:') + logging.info(str(os.listdir(args.build_dir))) + for root, dirs, files in os.walk(os.path.join(args.build_dir, 'pyproto')): + path = root.split(os.sep) + logging.info((len(path) - 1) * '---' + os.path.basename(root)) + for file in files: + logging.info(len(path) * '---' + file) + # Fail early in case the proto hasn't been built. from tracing.proto import histogram_proto if not histogram_proto.HAS_PROTO: @@ -245,6 +253,7 @@ def _ConfigurePythonPath(args): def main(): # pylint: disable=W0101 logging.basicConfig(level=logging.INFO) + logging.info('Invoked with %s', str(sys.argv)) args = _ParseArgs()