• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/bash
2#
3# Copyright 2023 The Khronos Group Inc.
4#
5# SPDX-License-Identifier: Apache-2.0
6
7echo "Note: Run 'pytest test_reflow.py' first to generate results/"
8
9for result_file in results/*/src-*.adoc; do
10  src_file=$(basename $result_file)
11  test_name=${src_file%.adoc}
12  test_name=${test_name#src-}
13  tag=$(basename $(dirname $result_file))
14
15  cp -f "$result_file" "expect-$test_name-$tag.adoc"
16done
17