From: Tobias Brunner Date: Thu, 5 May 2022 07:31:28 +0000 (+0200) Subject: testing: Use sans-serif font for test results X-Git-Tag: 5.9.7dr1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f35993d9fb410efcb2b4c7fc028dab3249c886;p=thirdparty%2Fstrongswan.git testing: Use sans-serif font for test results We could later extend the stylesheet more or even add something similar to actual templates (e.g. a shared header/footer). --- diff --git a/testing/css/site.css b/testing/css/site.css new file mode 100644 index 0000000000..a326381313 --- /dev/null +++ b/testing/css/site.css @@ -0,0 +1,3 @@ +body { + font-family: sans-serif; +} diff --git a/testing/do-tests b/testing/do-tests index 1e6a83a370..87bd07e212 100755 --- a/testing/do-tests +++ b/testing/do-tests @@ -177,6 +177,7 @@ cat > $INDEX <<@EOF strongSwan KVM Tests +

strongSwan KVM Tests

@@ -187,6 +188,7 @@ cat > $TESTRESULTSHTML <<@EOF strongSwan KVM Tests - All Tests +
strongSwan KVM Tests / All Tests
@@ -267,6 +269,7 @@ do strongSwan $SUBDIR Tests +
strongSwan KVM Tests / $SUBDIR
@@ -512,6 +515,7 @@ do Test $testname + diff --git a/testing/hosts/winnetou/etc/apache2/sites-available/000-default.conf b/testing/hosts/winnetou/etc/apache2/sites-available/000-default.conf index 03f93ad2e5..131f225180 100644 --- a/testing/hosts/winnetou/etc/apache2/sites-available/000-default.conf +++ b/testing/hosts/winnetou/etc/apache2/sites-available/000-default.conf @@ -8,6 +8,7 @@ RewriteEngine on RewriteRule "^/testresults/.+/images/(.*)" "/images/$1" [PT] + RewriteRule "^/testresults/.+/css/(.*)" "/css/$1" [PT] LogLevel warn ErrorLog ${APACHE_LOG_DIR}/error.log diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages index bb638ec446..3619b5e947 100755 --- a/testing/scripts/build-guestimages +++ b/testing/scripts/build-guestimages @@ -60,6 +60,7 @@ do then execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0 execute "cp -rf $DIR/../images $LOOPDIR/var/www/" 0 + execute "cp -rf $DIR/../css $LOOPDIR/var/www/" 0 execute "mkdir $LOOPDIR/var/www/testresults" 0 echo "echo /testresults ... >> $LOOPDIR/etc/fstab" >>$LOGFILE 2>&1 echo "/testresults /var/www/testresults 9p trans=virtio,version=9p2000.L 0 0" >> $LOOPDIR/etc/fstab