Skip to content

Commit a143bd6

Browse files
committed
Guarantee metrics will be saved before calibre run
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 01b8ab3 commit a143bd6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flow/test/test_helper.sh

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

45+
if [ -f "$PRIVATE_DIR/openRoad/private.mk" ] && [ ! -z ${SAVE_TO_DB+x} ]; then
46+
$__make save_to_metrics_db
47+
fi
48+
4549
if [ -f "$PRIVATE_DIR/util/utils.mk" ] && [ ! -z ${RUN_CALIBRE+x} ]; then
4650
$__make calibre_drc
4751
if [ ! -z ${SAVE_TO_DB+x} ]; then
4852
$__make save_to_drc_db
4953
fi
5054
fi
5155

52-
if [ -f "$PRIVATE_DIR/openRoad/private.mk" ] && [ ! -z ${SAVE_TO_DB+x} ]; then
53-
$__make save_to_metrics_db
54-
fi
55-
5656
exit $ret

0 commit comments

Comments
 (0)