case "$nifor" in
"system")
- crossgen_log="crossgen.log"
+ crossgen_log="crossgen_system.log"
rm -f "${crossgen_log}"
RunCrossgen
;;
;;
"full")
# system
- crossgen_log="crossgen.log"
+ crossgen_log="crossgen_system.log"
rm -f "${crossgen_log}"
nifor="system"
RunCrossgen
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 && \
./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 ./
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
;;
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"