diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 20:49:26 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 20:49:26 (GMT) |
commit | fdfe7a357e38f40d768e24412f7e49b7880c0fcc (patch) | |
tree | 78ceb047246f9391941b13e18a8c36601033c816 | |
parent | 823584cfa501b5179e187de62a755ae5be6eca19 (diff) | |
download | CMake-fdfe7a357e38f40d768e24412f7e49b7880c0fcc.zip CMake-fdfe7a357e38f40d768e24412f7e49b7880c0fcc.tar.gz CMake-fdfe7a357e38f40d768e24412f7e49b7880c0fcc.tar.bz2 |
ENH: add TestingSetup
-rw-r--r-- | Web/HTML/About.html | 3 | ||||
-rw-r--r-- | Web/HTML/Documentation.html | 3 | ||||
-rw-r--r-- | Web/HTML/Download.html | 3 | ||||
-rw-r--r-- | Web/HTML/Examples.html | 3 | ||||
-rw-r--r-- | Web/HTML/FAQ.html | 3 | ||||
-rw-r--r-- | Web/HTML/Features.html | 3 | ||||
-rw-r--r-- | Web/HTML/Install.html | 3 | ||||
-rw-r--r-- | Web/HTML/MailingLists.html | 3 | ||||
-rw-r--r-- | Web/HTML/News.html | 3 | ||||
-rw-r--r-- | Web/HTML/SideBar.html | 1 | ||||
-rw-r--r-- | Web/HTML/Sponsors.html | 3 | ||||
-rw-r--r-- | Web/HTML/Testing.html | 82 | ||||
-rw-r--r-- | Web/HTML/TestingSetup.html | 108 |
13 files changed, 197 insertions, 24 deletions
diff --git a/Web/HTML/About.html b/Web/HTML/About.html index fd929f0..a63a036 100644 --- a/Web/HTML/About.html +++ b/Web/HTML/About.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Documentation.html b/Web/HTML/Documentation.html index d569854..0580667 100644 --- a/Web/HTML/Documentation.html +++ b/Web/HTML/Documentation.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Download.html b/Web/HTML/Download.html index 88f728b..dc11318 100644 --- a/Web/HTML/Download.html +++ b/Web/HTML/Download.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Examples.html b/Web/HTML/Examples.html index f368e6b..4fed55a 100644 --- a/Web/HTML/Examples.html +++ b/Web/HTML/Examples.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/FAQ.html b/Web/HTML/FAQ.html index dafcc32..7dae05b 100644 --- a/Web/HTML/FAQ.html +++ b/Web/HTML/FAQ.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Features.html b/Web/HTML/Features.html index d2b4f48..11ee974 100644 --- a/Web/HTML/Features.html +++ b/Web/HTML/Features.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Install.html b/Web/HTML/Install.html index 927d47d..e870f37 100644 --- a/Web/HTML/Install.html +++ b/Web/HTML/Install.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/MailingLists.html b/Web/HTML/MailingLists.html index 8cd8c59..01f39d5 100644 --- a/Web/HTML/MailingLists.html +++ b/Web/HTML/MailingLists.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/News.html b/Web/HTML/News.html index 6c021f8..b0fef1b 100644 --- a/Web/HTML/News.html +++ b/Web/HTML/News.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/SideBar.html b/Web/HTML/SideBar.html index ff077c5..4859b75 100644 --- a/Web/HTML/SideBar.html +++ b/Web/HTML/SideBar.html @@ -11,6 +11,7 @@ <a href="/CMake/HTML/FAQ.html"> FAQ</a><br><br> <a href="/CMake/HTML/MailingLists.html"> Mailing Lists</a><br><br> <a href="/CMake/Testing/HTML/TestingResults/Dashboard/MostRecentResults-Nightly/Dashboard.html"> Testing</a><br><br> + <a href="/CMake/HTML/TestingSetup.html"> Testing Setup</a><br><br> <a href="/CMake/HTML/News.html"> News</a><br><br> </td> diff --git a/Web/HTML/Sponsors.html b/Web/HTML/Sponsors.html index 0902daf..4d20509 100644 --- a/Web/HTML/Sponsors.html +++ b/Web/HTML/Sponsors.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> diff --git a/Web/HTML/Testing.html b/Web/HTML/Testing.html index 56d6275..3751d54 100644 --- a/Web/HTML/Testing.html +++ b/Web/HTML/Testing.html @@ -4,8 +4,7 @@ <!--#include virtual="/CMake/HTML/Head.html"--> -<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" link="#FFFFFF" -vlink="#000000" alink="#000000"> +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > <!--#include virtual="/CMake/HTML/Table.html"--> @@ -14,10 +13,85 @@ vlink="#000000" alink="#000000"> <td width="550" valign="top" bgcolor="#FFFFFF"> <div align="left"> + <font size=5> - <font size=5>The CMake testing dashboard </font>is not currently available. - The nightly testing and release process will be available shortly. + If you would like to contribute to the CMake project by building a + nightly dashboard build, you can follow these instructions. + <ul> + <li>Obtain a copy of the Dart client. http://public.kitware.com/Dart + <br> + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot login + (password is dart) + <br> + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot co Dart + <br> + <li> install tcl. + <li> configure your CMake build to find Tcl and Dart. + <li> test your setup by typing make Experimental, then check the CMake dashboard in the next hour to see if your results are availiable. + </ul> + + Once you are able to submit experimental builds, the next step is setting up a nightly build. The nightly build works in almost the same way, but +needs to be run each night by crontab or some other scheduling program. Getting environment variables correct can be difficult. Several examples are included here. + <ul> + <li> Windows Visual C++ 6.0 Nightly build +<br> +cmakeNightlyVC.sh - A cygwin shell script to build a cmake dashboard. +<PRE> +cd //c/hoffman/Dart +cvs update -dAP +cd //c/hoffman/CMake +cvs update -dAP +cd //c/hoffman +rm -rf CMake-vc-dashboard +mkdir CMake-vc-dashboard +cd CMake-vc-dashboard +echo -e DART_ROOT:PATH=c:/Hoffman/Dart\\nMAKEPROGRAM:FILEPATH=msdev > CMakeCache.txt +/cygdrive/c/hoffman/CMake/Source/cmake ../CMake +msdev CMake.dsw /MAKE "Nightly - Win32 Debug" /BUILD +</PRE> +<br> +cmakeNightlyVC.bat - A windows batch file that can run cmakeNightlyVC.sh and be used from the microsoft program scheduler. +<PRE> +bash --login //c/Hoffman/cmakeNightlyVC.sh +</PRE> +<br> +dashboardCMake.csh -- a csh script to build cmake for a sun +<PRE> +#!/bin/csh +cd ${HOME}/Dart +cvs update -dAP +cd ${HOME}/CMake +cvs update -dAP +cd ${HOME} +# clean the entire build directory +rm -rf CMake-CC-dashboard +mkdir CMake-CC-dashboard +cd CMake-CC-dashboard +# preload the Dart path into the cache +echo DART_ROOT:PATH=/disk2/home/hoffman/Dart > CMakeCache.txt +setenv CXX CC +setenv CC cc +setenv CXXFLAGS "" +../CMake/configure +gmake Nightly +</PRE> +</PRE> +<br>dashboardCronEntry.csh -- a csh script that can be run from cron +<PRE> +<PRE> +#!/bin/csh +/bin/rm -f nightlyBuild.out +csh ${HOME}/dashboardCMake.csh > nightlyBuild.out +</PRE> +</PRE +<br> contab entry for above +<PRE> +<PRE> +# do a nightly cmake +0 4 * * * /disk2/home/hoffman/cronRunTests +</PRE> +</PRE> </div> </td> </tr> diff --git a/Web/HTML/TestingSetup.html b/Web/HTML/TestingSetup.html new file mode 100644 index 0000000..68948ef --- /dev/null +++ b/Web/HTML/TestingSetup.html @@ -0,0 +1,108 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> + +<html> + +<!--#include virtual="/CMake/HTML/Head.html"--> + +<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 text="black" > + +<!--#include virtual="/CMake/HTML/Table.html"--> + +<tr> +<!--#include virtual="/CMake/HTML/SideBar.html"--> + + <td width="550" valign="top" bgcolor="#FFFFFF"> + <div align="left"> + <font size=5>Help improve the quality of CMake</font> by running a + nightly dashboard build on your machine. If you would like to contribute + to the CMake project by building a + nightly dashboard build, you can follow these instructions. + <ul> + <li>Obtain a copy of the Dart (<a href="http://public.kitware.com/Dart">http://public.kitware.com/Dart</a>) client from cvs. + <br> + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot login + (password is dart) + <br> + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot co Dart + <br> + <li> Install tcl. + <li> Configure your CMake build to find Tcl and Dart. + <li> Test your setup by typing make Experimental, then check the CMake dashboard in the next hour to see if your results are available. + </ul> + + Once you are able to submit experimental builds, the next step is setting up a nightly build. The nightly build works in almost the same way, but +needs to be run each night by crontab or some other scheduling program. Getting environment variables correct can be difficult. Several examples are included here. +<h2>Examples</h2> + <ul> + <li> Windows Visual C++ 6.0 Nightly build +<br> +cmakeNightlyVC.sh - A cygwin shell script to build a cmake dashboard. +<PRE> +cd //c/hoffman/Dart +cvs update -dAP +cd //c/hoffman/CMake +cvs update -dAP +cd //c/hoffman +rm -rf CMake-vc-dashboard +mkdir CMake-vc-dashboard +cd CMake-vc-dashboard +echo -e DART_ROOT:PATH=c:/Hoffman/Dart\\nMAKEPROGRAM:FILEPATH=msdev > CMakeCache.txt +/cygdrive/c/hoffman/CMake/Source/cmake ../CMake +msdev CMake.dsw /MAKE "Nightly - Win32 Debug" /BUILD +</PRE> +<br> +cmakeNightlyVC.bat - A windows batch file that can run cmakeNightlyVC.sh and be used from the microsoft program scheduler. +<PRE> +bash --login //c/Hoffman/cmakeNightlyVC.sh +</PRE> +<br> +<li> Solaris CC crontab scripts +<br> +dashboardCMake.csh -- a csh script to build cmake for a sun +<PRE> +#!/bin/csh +cd ${HOME}/Dart +cvs update -dAP +cd ${HOME}/CMake +cvs update -dAP +cd ${HOME} +# clean the entire build directory +rm -rf CMake-CC-dashboard +mkdir CMake-CC-dashboard +cd CMake-CC-dashboard +# preload the Dart path into the cache +echo DART_ROOT:PATH=/disk2/home/hoffman/Dart > CMakeCache.txt +setenv CXX CC +setenv CC cc +setenv CXXFLAGS "" +../CMake/configure +gmake Nightly +</PRE> +</PRE> +<br>dashboardCronEntry.csh -- a csh script that can be run from cron +<PRE> +<PRE> +#!/bin/csh +/bin/rm -f nightlyBuild.out +csh ${HOME}/dashboardCMake.csh > nightlyBuild.out +</PRE> +</PRE +<br> contab entry for above +<PRE> +<PRE> +# do a nightly cmake +0 4 * * * /disk2/home/hoffman/dashboardCronEntry.csh +</PRE> +</PRE> + </div> + </td> +</tr> + +</table> + +</td> +</tr> +</table> + +</body> +</html> |