Skip to content

Commit 39b2b9b

Browse files
authored
Merge pull request #340 from The-OpenROAD-Project-staging/test-controls
Add variable controls to aid CI
2 parents b35736b + 3f9b1e1 commit 39b2b9b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,5 +744,5 @@ print-% : ; @echo $* = $($*)
744744
# Utilities
745745
#-------------------------------------------------------------------------------
746746
include $(UTILS_DIR)/utils.mk
747-
export PRIVATE_DIR = ../../private_tool_scripts
747+
export PRIVATE_DIR ?= ../../private_tool_scripts
748748
-include $(PRIVATE_DIR)/private.mk

flow/test/test_helper.sh

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

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

49+
if [ -f "$PRIVATE_DIR/openRoad/private.mk" ] && [ ! -z ${SAVE_TO_METRICS_DB+x} ]; then
50+
$__make save_to_metrics_db
51+
fi
52+
4953
exit $ret

0 commit comments

Comments
 (0)