blob: 9fd0c8a43a750b58d1c37e507ea17a5f58e86939 [file] [log] [blame]
#!/bin/bash
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
TYPE=(
"glbench_reference_images"
"glbench_knownbad_images"
"glbench_fixedbad_images"
)
for images in "${TYPE[@]}"; do
dir="ref_images/${images}"
[[ -d "${dir}" ]] || echo "NOTICE: ${dir} does not exist."
find "${dir}" -name "*.png" -printf "%P\n" 2>/dev/null | sort > "${images}.txt"
done