[tc] change crossgen log 31/155731/2
authorjiseob.jang <jiseob.jang@samsung.com>
Mon, 16 Oct 2017 05:00:31 +0000 (14:00 +0900)
committerjiseob.jang <jiseob.jang@samsung.com>
Mon, 16 Oct 2017 06:50:26 +0000 (15:50 +0900)
Change-Id: I0c252b1d4368c89abb300ee4d191ecd88db3bf3f
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
script/create_ni_files.sh
script/get_clr_results.sh
script/invoked_create_ni_files.sh

index 0a3b03b..b4f388d 100755 (executable)
@@ -129,7 +129,7 @@ function RunSed()
 
 case "$nifor" in
     "system")
-        crossgen_log="crossgen.log"
+        crossgen_log="crossgen_system.log"
         rm -f "${crossgen_log}"
         RunCrossgen
         ;;
@@ -141,7 +141,7 @@ case "$nifor" in
         ;;
     "full")
         # system
-        crossgen_log="crossgen.log"
+        crossgen_log="crossgen_system.log"
         rm -f "${crossgen_log}"
         nifor="system"
         RunCrossgen
@@ -158,6 +158,8 @@ case "$nifor" in
         echo "can't enter here"
         exit 1
 esac
+# push a log file of crossgen.
+sdb ${opt} push ${crossgen_log} ${clrdir}
 
 if [ "$nifor" == "system" ] || [ "$nifor" == "full" ]; then
     sdb ${opt} shell "cd $clrdir && \
index b5f3d76..3094322 100755 (executable)
@@ -64,7 +64,5 @@ if [ -f $name.xml ]; then
     ./generate_clr_csv $name.xml
 fi
 
-# Get results of creating ni
-sdb ${opt} pull $clrdir/crossgen_list.txt ./
-sdb ${opt} pull $clrdir/crossgen.log ./
-sdb ${opt} pull $clrdir/overlay_with_ni.tgz ./
+# Get results of crossgen
+sdb ${opt} pull ${clrdir}/crossgen_*.log ./
index f30a19c..73ea1b6 100755 (executable)
@@ -212,12 +212,12 @@ echo "" > $crossgen_list
 time_start=$(date +"%s")
 case "$nifor" in
     "system")
-        crossgen_list="crossgen_list.txt"
+        crossgen_list="${clrdir}/crossgen_list_system.log"
         rm -f "${crossgen_list}"
         DoCrossgenSystem
         ;;
     "clrutc")
-        crossgen_list="crossgen_list_clrutc.txt"
+        crossgen_list="${clrdir}/crossgen_list_clrutc.log"
         rm -f "${crossgen_list}"
         DoCrossgenClrUtc
         ;;
@@ -228,4 +228,4 @@ esac
 
 time_end=$(date +"%s")
 time_diff=$(($time_end-$time_start))
-echo "$(($time_diff / 60)) minutes and $(($time_diff % 60)) seconds taken to crossgen all of tests"
\ No newline at end of file
+echo "$(($time_diff / 60)) minutes and $(($time_diff % 60)) seconds taken to crossgen all of tests"