From fdfe7a357e38f40d768e24412f7e49b7880c0fcc Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 16 Jul 2001 16:49:26 -0400 Subject: [PATCH] ENH: add TestingSetup --- Web/HTML/About.html | 3 +- Web/HTML/Documentation.html | 3 +- Web/HTML/Download.html | 3 +- Web/HTML/Examples.html | 3 +- Web/HTML/FAQ.html | 3 +- Web/HTML/Features.html | 3 +- Web/HTML/Install.html | 3 +- Web/HTML/MailingLists.html | 3 +- Web/HTML/News.html | 3 +- Web/HTML/SideBar.html | 1 + Web/HTML/Sponsors.html | 3 +- Web/HTML/Testing.html | 82 +++++++++++++++++++++++++-- Web/HTML/TestingSetup.html | 108 ++++++++++++++++++++++++++++++++++++ 13 files changed, 197 insertions(+), 24 deletions(-) create mode 100644 Web/HTML/TestingSetup.html diff --git a/Web/HTML/About.html b/Web/HTML/About.html index fd929f057..a63a03613 100644 --- a/Web/HTML/About.html +++ b/Web/HTML/About.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Documentation.html b/Web/HTML/Documentation.html index d56985478..0580667b1 100644 --- a/Web/HTML/Documentation.html +++ b/Web/HTML/Documentation.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Download.html b/Web/HTML/Download.html index 88f728b22..dc11318a8 100644 --- a/Web/HTML/Download.html +++ b/Web/HTML/Download.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Examples.html b/Web/HTML/Examples.html index f368e6bb0..4fed55ad7 100644 --- a/Web/HTML/Examples.html +++ b/Web/HTML/Examples.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/FAQ.html b/Web/HTML/FAQ.html index dafcc32d8..7dae05b33 100644 --- a/Web/HTML/FAQ.html +++ b/Web/HTML/FAQ.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Features.html b/Web/HTML/Features.html index d2b4f48b3..11ee974a3 100644 --- a/Web/HTML/Features.html +++ b/Web/HTML/Features.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Install.html b/Web/HTML/Install.html index 927d47d96..e870f372e 100644 --- a/Web/HTML/Install.html +++ b/Web/HTML/Install.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/MailingLists.html b/Web/HTML/MailingLists.html index 8cd8c598d..01f39d5bc 100644 --- a/Web/HTML/MailingLists.html +++ b/Web/HTML/MailingLists.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/News.html b/Web/HTML/News.html index 6c021f857..b0fef1b6a 100644 --- a/Web/HTML/News.html +++ b/Web/HTML/News.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/SideBar.html b/Web/HTML/SideBar.html index ff077c589..4859b7590 100644 --- a/Web/HTML/SideBar.html +++ b/Web/HTML/SideBar.html @@ -11,6 +11,7 @@  FAQ

 Mailing Lists

 Testing

+  Testing Setup

 News

diff --git a/Web/HTML/Sponsors.html b/Web/HTML/Sponsors.html index 0902daf58..4d205091c 100644 --- a/Web/HTML/Sponsors.html +++ b/Web/HTML/Sponsors.html @@ -4,8 +4,7 @@ - + diff --git a/Web/HTML/Testing.html b/Web/HTML/Testing.html index 56d6275ab..3751d54d4 100644 --- a/Web/HTML/Testing.html +++ b/Web/HTML/Testing.html @@ -4,8 +4,7 @@ - + @@ -14,10 +13,85 @@ vlink="#000000" alink="#000000">
+ - The CMake testing dashboard 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. +
    +
  • Obtain a copy of the Dart client. http://public.kitware.com/Dart +
    + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot login + (password is dart) +
    + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot co Dart +
    +
  • install tcl. +
  • configure your CMake build to find Tcl and Dart. +
  • test your setup by typing make Experimental, then check the CMake dashboard in the next hour to see if your results are availiable. +
+ + 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. +
    +
  • Windows Visual C++ 6.0 Nightly build +
    +cmakeNightlyVC.sh - A cygwin shell script to build a cmake dashboard. +
    +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
    +
    +
    +cmakeNightlyVC.bat - A windows batch file that can run cmakeNightlyVC.sh and be used from the microsoft program scheduler. +
    +bash --login //c/Hoffman/cmakeNightlyVC.sh
    +
    +
    +dashboardCMake.csh -- a csh script to build cmake for a sun +
    +#!/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
    +
    + +
    dashboardCronEntry.csh -- a csh script that can be run from cron +
    +
    +#!/bin/csh
    +/bin/rm -f nightlyBuild.out
    +csh ${HOME}/dashboardCMake.csh > nightlyBuild.out
    +
    +
    contab entry for above +
    +
    +# do a nightly cmake
    +0 4 * * * /disk2/home/hoffman/cronRunTests
    +
    +
diff --git a/Web/HTML/TestingSetup.html b/Web/HTML/TestingSetup.html new file mode 100644 index 000000000..68948efc7 --- /dev/null +++ b/Web/HTML/TestingSetup.html @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + +
+ Help improve the quality of CMake 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. +
    +
  • Obtain a copy of the Dart (http://public.kitware.com/Dart) client from cvs. +
    + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot login + (password is dart) +
    + cvs -d :pserver:anonymous@public.kitware.com:/Dart/cvsroot co Dart +
    +
  • Install tcl. +
  • Configure your CMake build to find Tcl and Dart. +
  • Test your setup by typing make Experimental, then check the CMake dashboard in the next hour to see if your results are available. +
+ + 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. +

Examples

+
    +
  • Windows Visual C++ 6.0 Nightly build +
    +cmakeNightlyVC.sh - A cygwin shell script to build a cmake dashboard. +
    +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
    +
    +
    +cmakeNightlyVC.bat - A windows batch file that can run cmakeNightlyVC.sh and be used from the microsoft program scheduler. +
    +bash --login //c/Hoffman/cmakeNightlyVC.sh
    +
    +
    +
  • Solaris CC crontab scripts +
    +dashboardCMake.csh -- a csh script to build cmake for a sun +
    +#!/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
    +
    + +
    dashboardCronEntry.csh -- a csh script that can be run from cron +
    +
    +#!/bin/csh
    +/bin/rm -f nightlyBuild.out
    +csh ${HOME}/dashboardCMake.csh > nightlyBuild.out
    +
    +
    contab entry for above +
    +
    +# do a nightly cmake
    +0 4 * * * /disk2/home/hoffman/dashboardCronEntry.csh
    +
    +
    +
+ + + + + + + + + + +