Commit 72b8b2cb authored by Vijayenthiran Subramaniam's avatar Vijayenthiran Subramaniam Committed by Thomas Abraham
Browse files

sgi/common: move log file names from run_model to common utils file



Remove the log file names defined in the platform specific run_model.sh
file and add those to the common utils file since these macros can be
reused by all the platforms.

Change-Id: Ic8d0bbdaa7a0bcbae92e83999ced257c5a2e0dce
Signed-off-by: Vijayenthiran Subramaniam's avatarVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
parent 4e1ada99
......@@ -15,8 +15,6 @@ NORMAL_FONT="\e[0m"
RED_FONT="\e[31;1m"
GREEN_FONT="\e[32;1m"
YELLOW_FONT="\e[33;1m"
CURRENT_DATE="`date +%Y%m%d_%H-%M-%S`"
MYPID=$$
ROOTDIR="../../../../output/sgi575"
OUTDIR=${ROOTDIR}/sgi575
MODEL_TYPE="sgi575"
......@@ -41,13 +39,6 @@ fi
#Path to the binary models
PATH_TO_MODEL=$(dirname "${MODEL}")
UART0_ARMTF_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-armtf_$CURRENT_DATE
UART1_MM_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-1-mm_$CURRENT_DATE
UART0_CONSOLE_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-console_$CURRENT_DATE
UART0_SCP_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-scp_$CURRENT_DATE
UART0_MCP_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-mcp_$CURRENT_DATE
if [ $# -eq 0 ]; then
echo -e "$YELLOW_FONT Warning!!!!!: Continuing with default : -f busybox" >&2
echo -e "$YELLOW_FONT Use for more option ${0##*/} -h|-- help $NORMAL_FONT" >&2
......
......@@ -36,6 +36,14 @@
SGI_TEST_MAX_TIMEOUT=7200
CURRENT_DATE_TIME=`date +%Y-%m-%d_%H.%M.%S`
MYPID=$$
# UART Log files
UART0_ARMTF_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-armtf_$CURRENT_DATE_TIME
UART1_MM_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-1-mm_$CURRENT_DATE_TIME
UART0_CONSOLE_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-console_$CURRENT_DATE_TIME
UART0_SCP_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-scp_$CURRENT_DATE_TIME
UART0_MCP_OUTPUT_FILE_NAME=sgi-${MYPID}-uart-0-mcp_$CURRENT_DATE_TIME
# search all the available network interfaces and find an available tap
# network interface to use.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment