VXMICRO_BASE -> TIMO_BASE
Change-Id: I35650b2f4ff8e90217a9c38e0251e8c8b9e29049 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
933806d72a
commit
d06c20eb58
6 changed files with 36 additions and 36 deletions
|
@ -33,20 +33,20 @@
|
|||
|
||||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${VXMICRO_BASE} ]; then
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${VXMICRO_BASE} ] ; then
|
||||
echo "directory ${VXMICRO_BASE} not found"
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
echo "directory ${TIMO_BASE} not found"
|
||||
exit 1
|
||||
fi
|
||||
source ${VXMICRO_BASE}/scripts/sanity_chk/common.defs
|
||||
source ${TIMO_BASE}/scripts/sanity_chk/common.defs
|
||||
|
||||
# Location of master project directory
|
||||
#
|
||||
PRJ_PATH=${VXMICRO_BASE}/samples
|
||||
KLIBS_PRJ_PATH=${VXMICRO_BASE}/samples
|
||||
PRJ_PATH=${TIMO_BASE}/samples
|
||||
KLIBS_PRJ_PATH=${TIMO_BASE}/samples
|
||||
TEST_PRJ_PATH=./
|
||||
|
||||
# Pseudo-file describing sample projects to be sanitized
|
||||
|
|
|
@ -60,12 +60,12 @@ KEEP_LOGS=0
|
|||
SANITY_CHK_LOG="sanity_chk.log"
|
||||
|
||||
# directory containing code coverage results
|
||||
CC_DIR=${VXMICRO_BASE}/codecoverage/`${BASENAME} $0`/
|
||||
HTML_CC_DIR=${VXMICRO_BASE}/codecoverage_html/`${BASENAME} $0`/
|
||||
CC_DIR=${TIMO_BASE}/codecoverage/`${BASENAME} $0`/
|
||||
HTML_CC_DIR=${TIMO_BASE}/codecoverage_html/`${BASENAME} $0`/
|
||||
|
||||
# temporary files used when selecting projects to be sanitized
|
||||
TEMP_AWK_PROG="${VXMICRO_BASE}/.tempawkprog"
|
||||
TEMP_PRJ_LIST="${VXMICRO_BASE}/.tempprojlist"
|
||||
TEMP_AWK_PROG="${TIMO_BASE}/.tempawkprog"
|
||||
TEMP_PRJ_LIST="${TIMO_BASE}/.tempprojlist"
|
||||
|
||||
# maximum time (in seconds) to allow QEMU to execute a project
|
||||
QEMU_TIME_LIMIT=300
|
||||
|
|
|
@ -33,22 +33,22 @@
|
|||
|
||||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${VXMICRO_BASE} ]; then
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${VXMICRO_BASE} ] ; then
|
||||
echo "directory ${VXMICRO_BASE} not found"
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
echo "directory ${TIMO_BASE} not found"
|
||||
exit 1
|
||||
fi
|
||||
source ${VXMICRO_BASE}/scripts/sanity_chk/common.defs
|
||||
source ${TIMO_BASE}/scripts/sanity_chk/common.defs
|
||||
|
||||
# Additional commands used in script
|
||||
SIZE="${VXMICRO_BASE}/scripts/truesize"
|
||||
|
||||
# Location of master project directory
|
||||
#
|
||||
PRJ_PATH=${VXMICRO_BASE}/samples
|
||||
PRJ_PATH=${TIMO_BASE}/samples
|
||||
|
||||
# Pseudo-file describing sample projects to be characterized
|
||||
#
|
||||
|
|
|
@ -36,18 +36,18 @@ exit 0
|
|||
|
||||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${VXMICRO_BASE} ]; then
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${VXMICRO_BASE} ] ; then
|
||||
echo "directory ${VXMICRO_BASE} not found"
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
echo "directory ${TIMO_BASE} not found"
|
||||
exit 1
|
||||
fi
|
||||
source ${VXMICRO_BASE}/scripts/sanity_chk/common.defs
|
||||
source ${TIMO_BASE}/scripts/sanity_chk/common.defs
|
||||
|
||||
# Out of tree location
|
||||
OUT_OF_TREE_BASE_REL=${VXMICRO_BASE}/../$(basename ${VXMICRO_BASE})-sanity
|
||||
OUT_OF_TREE_BASE_REL=${TIMO_BASE}/../$(basename ${TIMO_BASE})-sanity
|
||||
OUT_OF_TREE_BASE=$(${ABS_PATH} ${OUT_OF_TREE_BASE_REL})
|
||||
|
||||
# Location of master project directory
|
||||
|
@ -133,8 +133,8 @@ possible; if desired the script can be instructed to skip the QEMU execution
|
|||
step.
|
||||
|
||||
BSPs and samples are copied to:
|
||||
VXMICRO_BASE/../sanity/bsp
|
||||
VXMICRO_BASE/../sanity/samples
|
||||
TIMO_BASE/../sanity/bsp
|
||||
TIMO_BASE/../sanity/samples
|
||||
|
||||
The script returns 0 on success. If an error is encountered at any point
|
||||
the script returns the exit value of the command that failed, the function
|
||||
|
@ -250,13 +250,13 @@ main() {
|
|||
${MKDIR} -p ${OUT_OF_TREE_BASE}
|
||||
|
||||
# copy the BSPs
|
||||
${CP} -r ${VXMICRO_BASE}/target/bsp ${OUT_OF_TREE_BASE}
|
||||
${CP} -r ${TIMO_BASE}/target/bsp ${OUT_OF_TREE_BASE}
|
||||
[ $? -eq 0 ] || fail_exit $? $FUNCNAME $LINENO
|
||||
|
||||
# copy the samples/include directory used by certain projects
|
||||
${MKDIR} -p ${PRJ_PATH}
|
||||
[ $? -eq 0 ] || fail_exit $? $FUNCNAME $LINENO
|
||||
${CP} -r ${VXMICRO_BASE}/samples/include ${PRJ_PATH}
|
||||
${CP} -r ${TIMO_BASE}/samples/include ${PRJ_PATH}
|
||||
[ $? -eq 0 ] || fail_exit $? $FUNCNAME $LINENO
|
||||
|
||||
# build (and optionally execute) projects
|
||||
|
@ -275,7 +275,7 @@ main() {
|
|||
${MKDIR} -p ${PRJ_PATH}/${PRJ_NAME[${cur_proj}]}
|
||||
[ $? -eq 0 ] || fail_exit $? $FUNCNAME $LINENO
|
||||
|
||||
${CP} -r ${VXMICRO_BASE}/samples/${PRJ_NAME[${cur_proj}]}/* ${PRJ_PATH}/${PRJ_NAME[${cur_proj}]}
|
||||
${CP} -r ${TIMO_BASE}/samples/${PRJ_NAME[${cur_proj}]}/* ${PRJ_PATH}/${PRJ_NAME[${cur_proj}]}
|
||||
[ $? -eq 0 ] || fail_exit $? $FUNCNAME $LINENO
|
||||
|
||||
# build project
|
||||
|
|
|
@ -33,19 +33,19 @@
|
|||
|
||||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${VXMICRO_BASE} ]; then
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${VXMICRO_BASE} ] ; then
|
||||
echo "directory ${VXMICRO_BASE} not found"
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
echo "directory ${TIMO_BASE} not found"
|
||||
exit 1
|
||||
fi
|
||||
source ${VXMICRO_BASE}/scripts/sanity_chk/common.defs
|
||||
source ${TIMO_BASE}/scripts/sanity_chk/common.defs
|
||||
|
||||
# Location of master project directory
|
||||
#
|
||||
PRJ_PATH=${VXMICRO_BASE}/samples
|
||||
PRJ_PATH=${TIMO_BASE}/samples
|
||||
|
||||
# Pseudo-file describing sample projects to be sanitized
|
||||
#
|
||||
|
|
|
@ -33,20 +33,20 @@
|
|||
|
||||
# Import common sanity check definitions
|
||||
#
|
||||
if [ -z ${VXMICRO_BASE} ]; then
|
||||
if [ -z ${TIMO_BASE} ]; then
|
||||
echo "shell variables required to build VxMicro are not set"
|
||||
exit 1
|
||||
fi
|
||||
if [ ! -d ${VXMICRO_BASE} ] ; then
|
||||
echo "directory ${VXMICRO_BASE} not found"
|
||||
if [ ! -d ${TIMO_BASE} ] ; then
|
||||
echo "directory ${TIMO_BASE} not found"
|
||||
exit 1
|
||||
fi
|
||||
source ${VXMICRO_BASE}/scripts/sanity_chk/common.defs
|
||||
source ${TIMO_BASE}/scripts/sanity_chk/common.defs
|
||||
|
||||
# Symbols used in this script only
|
||||
#
|
||||
SCRIPT_PATH=${VXMICRO_BASE}/scripts/sanity_chk
|
||||
HOST_TOOLS_SRC_PATH=${VXMICRO_BASE}/host/src
|
||||
SCRIPT_PATH=${TIMO_BASE}/scripts/sanity_chk
|
||||
HOST_TOOLS_SRC_PATH=${TIMO_BASE}/host/src
|
||||
|
||||
# print script usage
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue