1 export MACHINE=`echo $SBOX_UNAME_MACHINE`
3 if [ $MACHINE = "i686" ]
5 TET_SCEN_FILE=tet_scen_i686
7 TET_SCEN_FILE=tet_scen_arm
11 RESULT_TO_JOURNAL="false"
15 RESULT_TO_JOURNAL="false"
16 TET_SCEN_NAME="tet_scen"
19 SCEN_FILE_INPUT="false"
24 args_count=`expr $args_count + 1`
25 if [ $SCEN_FILE_INPUT = "true" ]
28 SCEN_FILE_INPUT="false"
31 RESULT_TO_JOURNAL="true"
34 SCEN_FILE_INPUT="true"
35 elif [ $args_count = $# ]
41 #Export the path information
44 echo TET_ROOT=$TET_ROOT
45 echo TET_SUITE_ROOT=$TET_SUITE_ROOT
46 echo TET_SCEN_FILE=$TET_SCEN_FILE
47 echo TET_SCEN_NAME=$TET_SCEN_NAME
48 echo RESULT_TO_JOURNAL=$RESULT_TO_JOURNAL
51 #if [ $MACHINE = "i686" ]
52 if [ $MACHINE = "i686" ]
54 TEXT_RESULT=$RESULT_DIR/EXE-i686-$TET_SCEN_NAME-$FILE_NAME_EXTENSION.html
55 JOURNAL_RESULT=$RESULT_DIR/EXE-i686-$TET_SCEN_NAME-$FILE_NAME_EXTENSION.journal
57 TEXT_RESULT=$RESULT_DIR/EXE-ARM-$TET_SCEN_NAME-$FILE_NAME_EXTENSION.html
58 JOURNAL_RESULT=$RESULT_DIR/EXE-ARM-$TET_SCEN_NAME-$FILE_NAME_EXTENSION.journal
61 ### Make Result output directory
63 echo "$RESULT_DIR Folder Creat"
66 echo " -> $RESULT_DIR Folder exist"
71 ##execute and mkae html report
72 if [ $RESULT_TO_JOURNAL = "false" ]
74 tcc -e -p -j - -s $TET_SCEN_FILE ./ $TET_SCEN_NAME
76 tcc -e -j $JOURNAL_RESULT -p -s $TET_SCEN_FILE ./ $TET_SCEN_NAME
77 grw -c 3 -f chtml -o $TEXT_RESULT -- $JOURNAL_RESULT
78 echo RESULT_SUMMARY = $TEXT_RESULT
79 echo RESULT_JOURNAL = $JOURNAL_RESULT