summaryrefslogtreecommitdiff
path: root/build_tests/update-expectations
blob: 2e0a1ae39713a7b7efeedfb00385ca22ea9502a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash
#
# Copyright 2023 The Khronos Group Inc.
#
# SPDX-License-Identifier: Apache-2.0

echo "Note: Run 'testBuild' first to generate gen-*/"

for build in gen-*; do
  if [ "$build" == gen-validusage ]; then continue; fi

  output=$build/out/html/vkspec.html
  expectation=expectations/${build#gen-}.html

  cp -f "$output" "$expectation"
done

cp -f gen-validusage/out/validation/validusage.json expectations/validusage.json