mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-03 16:29:50 +02:00
test: Add save_ok script
Signed-off-by: Jaehyun Kim <[email protected]>
This commit is contained in:
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright (c) 2026, The OpenROAD Authors
|
||||
|
||||
# Copy test result logs to golden (.ok) files.
|
||||
# Usage: save_ok <test_name> [test_name ...]
|
||||
# Looks for results/<test_name>.log and copies to <test_name>.ok.
|
||||
|
||||
set -e
|
||||
|
||||
for test_name in "${@:1}"
|
||||
do
|
||||
if [ -f "results/${test_name}.log" ]; then
|
||||
cp "results/${test_name}.log" "${test_name}.ok"
|
||||
echo "${test_name}"
|
||||
else
|
||||
echo "\"${test_name}\" log file not found"
|
||||
fi
|
||||
done
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../test/shared/save_ok
|
||||
Reference in New Issue
Block a user