Add pubDate and update the RSS regardless of previous test state. Thanks to bshum...
authorJason Etheridge <jason@esilibrary.com>
Tue, 26 Apr 2016 17:57:00 +0000 (13:57 -0400)
committerJason Etheridge <jason@esilibrary.com>
Tue, 26 Apr 2016 17:59:01 +0000 (13:59 -0400)
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
qa/test_output_webifier.pl

index d3c550f..b318733 100755 (executable)
@@ -204,7 +204,7 @@ sub branch_tips {
 
 sub update_rss {
     `touch pass_fail.txt.prev`;
-    if (`diff pass_fail.txt pass_fail.txt.prev`) {
+    #if (`diff pass_fail.txt pass_fail.txt.prev`) {
         $fail = `grep Failed pass_fail.txt`;
         open RSS_FILE, ">test_rss.xml";
         print RSS_FILE q^<?xml version="1.0"?>
@@ -213,6 +213,7 @@ sub update_rss {
         <title>Test Output Summary</title>
         <link>http://testing.evergreen-ils.org/~live/test.html</link>
         <description>Live Test Suite</description>
+       <pubDate>^ . `date -R` . q^</pubDate>
         <item>^ . (
             $fail
             ? q^<title>Test Failure - http://testing.evergreen-ils.org/~live/test.html</title>
@@ -228,6 +229,6 @@ sub update_rss {
 </rss>
 ^;
         close RSS_FILE;
-    }
+    #}
     `mv pass_fail.txt pass_fail.txt.prev`;
 }