fi
}
+getLatestGccVersion() {
+ # Base path
+ base_path="/home"
+ # Get the list of users
+ users=$(ls $base_path)
+ for user in $users; do
+ user_path="$base_path/$user/tizen-studio/tools/"
+ # Check if the directory exists
+ if [ -d "$user_path" ]; then
+ highest_version=$(ls -d "$user_path"/*gcc-* | grep 'gcc-' | sed 's/.*gcc-//' | sort -V | tail -n 1)
+ echo "Highest GCC version is $highest_version"
+ COMPILER_TYPE="gcc-$highest_version"
+ echo $COMPILER_TYPE
+ else
+ echo "Directory $user_path does not exist."
+ fi
+ done
+ if [ -z "$COMPILER_TYPE" ]; then
+ echo "No GCC version found."
+ return
+ fi
+}
+
+
TESTCASE_TYPE="$1"
MODULE_NAME="$2"
TIZENIOTMODULENAME="$2"
# build command properties
#COMPILER_TYPE="llvm"
-COMPILER_TYPE="gcc-14.1"
+COMPILER_TYPE=""
+getLatestGccVersion
BUILD_TYPE="Debug"
UNSUPPORTED_FILE="tct_unsupported.txt"