Commit 9cb57da6 authored by miller86's avatar miller86

moving test posts to www/tests and re-enabling purging of tests

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@27915 18c085ea-50e0-402c-830e-de6fd14e8384
parent 0115fcfd
......@@ -10,7 +10,7 @@
# - no results older than 3 years
#
root=/project/projectdirs/visit/www
root=/project/projectdirs/visit/www/tests
#
# Function to find dirs in a given range, count them
......
......@@ -386,10 +386,10 @@ if test "$post" = "true" ; then
fi
# If its a sunday, purge old test results
# if test "$(date +%A)" = "Sunday" ; then
# scp src/svn_bin/purge_old_test_results.sh $userNersc@$nerscHost:
# ssh $userNersc@$nerscHost "./purge_old_test_results.sh"
# fi
if test "$(date +%A)" = "Sunday" ; then
scp src/svn_bin/purge_old_test_results.sh $userNersc@$nerscHost:
ssh $userNersc@$nerscHost "./purge_old_test_results.sh"
fi
# Set the permissions so that others may access the test directory.
cd ..
......
#!/bin/sh
# Untar the html
tar zxmf html.tar.gz -C /project/projectdirs/visit/www
tar zxmf html.tar.gz -C /project/projectdirs/visit/www/tests
cd /project/projectdirs/visit/www
......@@ -21,7 +21,7 @@ echo " <td><b>Mode</b></td>" >> index.html
echo " <td><b>Result</b></td>" >> index.html
echo "</tr>" >> index.html
ls -1t /project/projectdirs/visit/www/*/*/index.html | while read testLine; do
ls -1t /project/projectdirs/visit/www/tests/*/*/index.html | while read testLine; do
theMode=`echo $testLine | cut -d'/' -f7`
theRelDir=`echo $testLine | cut -d'/' -f6-`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment