diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-05-04 16:59:34 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-05-05 10:29:52 +0200 |
commit | e296fc2d266f4461f78b9b0bf349d34289fb319b (patch) | |
tree | e4fdcf8df7a8840eba0760fb3c6dfbb55e013114 /testing/do-tests.in | |
parent | ca25eb9eb3302285e446b5ed157809f88a9ccdfd (diff) | |
download | strongswan-e296fc2d266f4461f78b9b0bf349d34289fb319b.tar.bz2 strongswan-e296fc2d266f4461f78b9b0bf349d34289fb319b.tar.xz |
testing: Add crumbtrail to overview page which lists all tests.
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-x | testing/do-tests.in | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in index d6ced2d86..eafce0f83 100755 --- a/testing/do-tests.in +++ b/testing/do-tests.in @@ -117,13 +117,7 @@ done KERNEL_VERSION=`basename $KERNEL .tar.bz2` IPSEC_VERSION=`basename $STRONGSWAN .tar.bz2` -cat > $INDEX <<@EOF -<html> -<head> - <title>strongSwan UML Tests</title> -</head> -<body> - <h2>strongSwan UML Tests</h2> +ENVIRONMENT_HEADER=$(cat <<@EOF <table border="0" cellspacing="2"> <tr valign="top"> <td><b>Host:</b></td> @@ -148,9 +142,27 @@ cat > $INDEX <<@EOF <td > </td> </tr> @EOF +) + +cat > $INDEX <<@EOF +<html> +<head> + <title>strongSwan UML Tests</title> +</head> +<body> + <h2>strongSwan UML Tests</h2> + $ENVIRONMENT_HEADER +@EOF -cat $INDEX > $TESTRESULTSHTML -cat >> $TESTRESULTSHTML <<@EOF +cat > $TESTRESULTSHTML <<@EOF +<html> +<head> + <title>strongSwan UML Tests - All Tests</title> +</head> +<body> + <div><a href="index.html">strongSwan UML Tests</a> / All Tests</div> + <h2>All Tests</h2> + $ENVIRONMENT_HEADER <tr align="left"> <th>Number</th> <th>Test</th> |