Database update is required. Run:
. tsp/common.sh
sqlite3 "${DBPATH}" -batch < tsp/results-schema.sql
Change-Id: If8d823dad442e57b206c44584f4d4404a8518299
DBPATH="${WS_PUBLISH}/${DBNAME}"
WWW_PUBLISH="${WS_PUBLISH}/current_status.html"
WWW_3_PUBLISH="${WS_PUBLISH}/current_status_3.html"
+WWW_4_PUBLISH="${WS_PUBLISH}/current_status_4.html"
UPDATE_WWW="/var/tmp/should_update_www"
WS_PUBLISH_WWW="${WS_PUBLISH}/www"
TSP_WWW="${TSP_DIR}/www"
publish -limit 2048 -db "${DBPATH}" -out "${WWW_PUBLISH}"
publish -limit 1024 -tizen3 -db "${DBPATH}" -out "${WWW_3_PUBLISH}"
+publish -limit 1024 -tizen4 -db "${DBPATH}" -out "${WWW_4_PUBLISH}"
rm "${UPDATE_WWW}"
WHERE SR LIKE "%3.0-common%"
ORDER BY SR DESC
;
+
+CREATE VIEW IF NOT EXISTS currentstatus4 AS
+ SELECT
+ test.tnumber AS "SR",
+ test.tdate AS "Date",
+ test.tbuildnr AS "Build nr",
+ device.dname AS "Device",
+ result.rname AS "Status"
+ FROM test
+ INNER JOIN device ON test.tdid = device.did
+ INNER JOIN result ON result.rid = test.trid
+ WHERE SR LIKE "%4.0-unified%"
+ ORDER BY SR DESC
+;