Skip to content

Commit 3df3c4e

Browse files
authored
Merge pull request #350 from The-OpenROAD-Project-staging/calibre2db
Save/compare drc results
2 parents e489033 + a143bd6 commit 3df3c4e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

flow/test/test_helper.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ if [ -z "${PRIVATE_DIR+x}" ]; then
4242
PRIVATE_DIR="../../private_tool_scripts"
4343
fi
4444

45-
if [ -f "$PRIVATE_DIR/util/utils.mk" ] && [ ! -z ${RUN_CALIBRE+x} ]; then
46-
$__make calibre_drc
45+
if [ -f "$PRIVATE_DIR/openRoad/private.mk" ] && [ ! -z ${SAVE_TO_DB+x} ]; then
46+
$__make save_to_metrics_db
4747
fi
4848

49-
if [ -f "$PRIVATE_DIR/openRoad/private.mk" ] && [ ! -z ${SAVE_TO_METRICS_DB+x} ]; then
50-
$__make save_to_metrics_db
49+
if [ -f "$PRIVATE_DIR/util/utils.mk" ] && [ ! -z ${RUN_CALIBRE+x} ]; then
50+
$__make calibre_drc
51+
if [ ! -z ${SAVE_TO_DB+x} ]; then
52+
$__make save_to_drc_db
53+
fi
5154
fi
5255

5356
exit $ret

0 commit comments

Comments
 (0)