From d25b813b13f8ba0007b636533aeb9ef69ce9ac7d Mon Sep 17 00:00:00 2001 From: nibha2 Date: Wed, 22 Aug 2018 14:22:05 +0530 Subject: [PATCH] [HALTest][Modified summary.xml name format] Change-Id: I873562380bb382b72be29314a187ed860b4fb636 Signed-off-by: nibha2 --- Scripts/download_code.sh | 1 - Scripts/test_xml_generate.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Scripts/download_code.sh b/Scripts/download_code.sh index 10c384d..f86d35b 100755 --- a/Scripts/download_code.sh +++ b/Scripts/download_code.sh @@ -200,7 +200,6 @@ Trigger_Download() echo "[ERROR] haltests folder not found for [$FOLDER_PATH] module." | tee -a $LOG_FOLDER/$ERROR_FILE cd $SOURCE_DIR - rm -rf $FOLDER_PATH DownloadErrCnt=$((DownloadErrCnt+1)) nRet=$ERROR fi diff --git a/Scripts/test_xml_generate.py b/Scripts/test_xml_generate.py index 1a90245..9541a90 100644 --- a/Scripts/test_xml_generate.py +++ b/Scripts/test_xml_generate.py @@ -35,7 +35,7 @@ doc = minidom.Document() root = doc.createElement('testsuites') ###Summary File Created on the basis of date and time#################### -summary_xml=("summary_"+datetime.datetime.now().strftime("%y-%m-%d-%H-%M")+".xml") +summary_xml=("summary"+".xml") f=open(summary_xml,"w") f.write("\n") f.write("\n") -- 2.7.4