#Generating test report
-echo $SCENARIO | grep -i -E "upgrade|update"
+PRODUCT="emi.gridsite"
+UNITESTEXEC="NO"
+REMARKS="No unit tests implemented"
+PERFORMANCEEXEC="NO"
+TESTREPOCONTENTS="`cat ./repo_packages.txt`"
+PRODREPOCONTENTS="`cat ./prod_packages.txt`"
+INSTALLCOMMAND="`cat GridSiteInstall.sh`"
+INSTALLLOG="`cat Install_log.txt`"
+CONFIGLOG="GridSite does not use any specific configuration procedure. No log provided"
+#UPGRADECMD
+UNITTESTURL="NA"
+TESTPLANURL="http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests/"
+FUNCTIONALITYTESTURL="https://twiki.cern.ch/twiki/bin/view/EGEE/SA3Testing#GridSite"
+
+gen_test_report > TestRep.txt
-if [ $? -ne 0 ]; then
-
-cat << EndRepHead > TestRep.txt
-*************
-Summary
-*************
-
-1. Deployment tests:
- 1.1. Clean Installation - PASS
- 1.2. Upgrade Installation - PASS
-2. Static Code Analysis - NA
-3. Unit Tests Execution - NO
-4. System tests:
- 4.1. Functionality tests - PASS
- 4.2. Regression tests - PASS
- 4.3. Standard Conformance tests - NA
- 4.4. Performance tests - NA
- 4.5. Scalability tests - NA
-
-REMARKS:
-
-GridSite code is not covered by unit tests. This is a state EMI inherited and there are insufficient resources to remedy that. On top of that, GridSite is due to major refactoring with the instrodunction od caNl.
-
-*************************** Detailed Testing Report ***************************************
-
-1. Deployment log
-************************
-
-1.1. Clean Installation
------------------------------
-- YUM/APT Testing Repo file contents:
-EndRepHead
-
- cat repo_packages.txt >> TestRep.txt
-
- printf "\n- YUM/APT Install command:\n\n" >> TestRep.txt
-
- cat GridSiteInstall.sh >> TestRep.txt
-
- printf "\n- YUM/APT log:\n\n" >> TestRep.txt
-
- cat Install_log.txt >> TestRep.txt
-
- printf "\n- Configuration log:\n\nN/A\n\n" >> TestRep.txt
-
-else
-
- printf "\n1.2. Upgrade Installation\n--------------------------------\n- YUM/APT Production Repo file contents:\n\n"
-
- cat prod_packages.txt >> TestRep.txt
-
- printf "\n- YUM/APT Install command:\n\n" >> TestRep.txt
-
- cat GridSiteInstall.sh >> TestRep.txt
-
- printf "\n- YUM/APT Testing Repo file contents:\n\n" >> TestRep.txt
-
- cat repo_packages.txt >> TestRep.txt
-
- printf "\n- YUM/APT Upgrade command:\n\n${UPGRADECMD}\n\n- YUM/APT log:" >> TestRep.txt
-
- cat Install_log.txt >> TestRep.txt
-
-cat << EndRepHead >> TestRep.txt
-- Configuration log:
-
-2. Static Code Analysis
-******************************
-- URL where static code analysis results can be accessed
-
-3. Unit Tests
-*****************
-- URL pointing to the results of the Unit Tests.
-- Code Coverage %, if available.
-
-4. System tests
-*********************
-- URL where the tests/testsuite can be accessed:
-
-https://twiki.cern.ch/twiki/bin/view/EGEE/SA3Testing#GridSite
-
-- URL where the test results can be accessed:
-
-http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests/
-
-EndRepHead
-
-fi