ARCH="x86_64"
fi
-UNSUPPORTED_FILE="tct_unsupported.txt"
-SUPPORTED=`cat ./$UNSUPPORTED_FILE | grep "$PROFILE_TYPE:$ARCH:$TESTCASE_TYPE:$MODULE_NAME;"`
-if [[ $SUPPORTED != "" ]]
-then
- echo $green "Module:$MODULE_NAME is not supported"
- echo $green"'SKIPPING' THIS MODULE FROM BUILD PROCESS"
- echo ""$reset
- sleep 1
+if [[ ( $MODULE_NAME == "BuildLog" ) || ( $MODULE_NAME == "docs" ) || ( $MODULE_NAME == "release" ) || ( $MODULE_NAME == "rootstrap.txt" ) || ( $MODULE_NAME == "scripts_tpk" ) || ( $MODULE_NAME == "tpkbuild" )]]; then
exit
fi
if [ "$#" -eq "2" ]; then
scripts_tpk/tpk_create.sh $1 $2 $ARCH_TYPE $PROFILE_TYPE | tee -a BuildLog/$1/$2.txt
- #below code remove the log file in case build is SUCCESS
- #keep the log file only for build FAILED modules
- while read LINE
- do
- if [[ $LINE =~ "CREATION SUCCESSFUL" ]] || [[ $LINE =~ "BUILD FAILED : Module doesn't exist" ]] || [[ $LINE =~ "'SKIPPING' THIS MODULE FROM BUILD PROCESS" ]]; then
+ if [[ ( $2 == "BuildLog" ) || ( $2 == "docs" ) || ( $2 == "release" ) || ( $2 == "rootstrap.txt" ) || ( $2 == "scripts_tpk" ) || ( $2 == "tpkbuild" )]]; then
rm BuildLog/$1/$2.txt
- break
+ #below code remove the log file in case build is SUCCESS
+ #keep the log file only for build FAILED modules
+ else
+ while read LINE
+ do
+ if [[ $LINE =~ "CREATION SUCCESSFUL" ]] || [[ $LINE =~ "BUILD FAILED : Module doesn't exist" ]]; then
+ rm BuildLog/$1/$2.txt
+ break
+ fi
+ done <BuildLog/$1/$2.txt
fi
- done <BuildLog/$1/$2.txt
elif [ "$#" -eq "1" ]; then
for module in `ls -1 | grep -v CMakeList`
do
+++ /dev/null
-##########################################################################################################
-#### Add unsupported module in the form of <device_type>:<architecture>:<build-type>:<module-name>; ######
-##########################################################################################################
-
-##################
-##### mobile #####
-##################
-
-## tbt ##
-mobile:armv7l:tbt:BuildLog;
-mobile:armv7l:tbt:docs;
-mobile:armv7l:tbt:release;
-mobile:armv7l:tbt:scripts_tpk;
-mobile:armv7l:tbt:tct_unsupported.txt;
-mobile:armv7l:tbt:tpkbuild;
-mobile:x86:tbt:BuildLog;
-mobile:x86:tbt:docs;
-mobile:x86:tbt:release;
-mobile:x86:tbt:scripts_tpk;
-mobile:x86:tbt:tct_unsupported.txt;
-mobile:x86:tbt:tpkbuild;
-