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