Files
OpenROAD/test/shared/save_ok.sh
2026-02-17 05:47:38 +00:00

20 lines
499 B
Bash
Executable File

#!/usr/bin/env bash
## SPDX-License-Identifier: BSD-3-Clause
## Copyright (c) 2024-2026, The OpenROAD Authors
set -e
for test_name in "${@:1}"
do
if [ -f "results/${test_name}-tcl.log" ]; then
cp "results/${test_name}-tcl.log" "${test_name}.ok"
echo "${test_name}"
elif [ -f "results/${test_name}-py.log" ]; then
cp "results/${test_name}-py.log" "${test_name}.ok"
echo "${test_name}"
else
echo "\"${test_name}\" log file not found"
fi
done