keep the main index page slim
authorJason Etheridge <jason@EquinoxInitiative.org>
Fri, 13 Dec 2019 06:41:15 +0000 (01:41 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Fri, 13 Dec 2019 06:41:15 +0000 (01:41 -0500)
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
qa/test.sh

index aacae65..c32b55c 100755 (executable)
@@ -37,7 +37,10 @@ cp $LOCAL_QA_GIT_PATH/qa/test_output.css $TESTDIR
 cp $LOCAL_QA_GIT_PATH/qa/test_output.css .
 echo '<html><head></head><body><h1>Testing in progress</h1>[<a href="/">Previous Runs</a>]</body></html>' > $TESTDIR/test.html
 (cd $TESTDIR ; ln -s test.html index.html)
-echo '<li><a href="'$TESTDIR'/index.html">'$TEST_SUBDIR'</a>' `cat index.html` > index.html
+mv run.list run.list.old
+echo '<li><a href="'$TESTDIR'/index.html">'$TEST_SUBDIR'</a>' > run.list
+head -5 run.list.old >> run.list
+echo '<html><head></head><body><h1>Most recent runs:</h1><ul>' `cat run.list` '<li><a href="archive/">older runs</a></ul></body></html>' > index.html
 echo "*** Ready to test!"
 
 echo -n "*** Test starting ... "