We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab4b688 commit e00ddd3Copy full SHA for e00ddd3
flow/test/test_helper.sh
@@ -11,6 +11,7 @@ CONFIG_MK=${3:-config.mk}
11
if [ $# -eq 4 ]; then
12
FLOW_VARIANT=$4
13
fi
14
+TARGET=${5:-finish}
15
DESIGN_CONFIG=./designs/$PLATFORM/$DESIGN_NAME/$CONFIG_MK
16
LOG_FILE=./logs/$PLATFORM/$DESIGN_NAME.log
17
mkdir -p "./logs/$PLATFORM"
@@ -26,7 +27,7 @@ $__make clean_all clean_metadata 2>&1 | tee "$LOG_FILE"
26
27
# turn off abort on error so we can always capture the result
28
set +e
29
-$__make finish metadata 2>&1 | tee -a "$LOG_FILE"
30
+$__make "${TARGET}" metadata 2>&1 | tee -a "$LOG_FILE"
31
32
# Save the return code to return as the overall status after we package
33
# the results
0 commit comments