1e5c31af7Sopenharmony_ci#! /bin/bash 2e5c31af7Sopenharmony_ci# 3e5c31af7Sopenharmony_ci# Copyright 2023-2024 The Khronos Group Inc. 4e5c31af7Sopenharmony_ci# 5e5c31af7Sopenharmony_ci# SPDX-License-Identifier: Apache-2.0 6e5c31af7Sopenharmony_ci 7e5c31af7Sopenharmony_ciecho "Note: Run 'testBuild' first to generate gen-*/" 8e5c31af7Sopenharmony_ci 9e5c31af7Sopenharmony_cifor build in gen-*; do 10e5c31af7Sopenharmony_ci if [ "$build" == gen-validusage ]; then continue; fi 11e5c31af7Sopenharmony_ci 12e5c31af7Sopenharmony_ci output=$build/out/html/vkspec.html 13e5c31af7Sopenharmony_ci expectation=expectations/${build#gen-}.html 14e5c31af7Sopenharmony_ci 15e5c31af7Sopenharmony_ci cp -f "$output" "$expectation" 16e5c31af7Sopenharmony_cidone 17e5c31af7Sopenharmony_ci 18e5c31af7Sopenharmony_cicp -f gen-validusage/out/validation/validusage.json expectations/validusage.json 19