Hi Andy: Thanks for the updated info.
I have problem in setting up the SourceDirectory and BuildDirectory. It is a relative path, but I want to know relative path from which context? Is it from the directory where DartConfiguration.tcl, and DartTestfile.txt lie? Just for testing purpose I created a "src" directory and placed my code in that. The code which I refer in the DartTestfile.txt file. I mentioned "/src" for both "SourceDirectory" and "BuildDirectory" keys. When I run ctest it says "The system cannot find the path specified" Thanks Vignesh. -----Original Message----- From: Andy Cedilnik [mailto:[EMAIL PROTECTED] Sent: Thursday, March 02, 2006 9:10 AM To: Andy Cedilnik Cc: Vignesh M.P.N.; CMake Subject: Re: [CMake] CTest newbie Hi Vingesh, Sorry about misspelled name. I updated the Wiki page to include more details. Please let me know if you require more information. Thank you. Andy Andy Cedilnik wrote: > Hi Bignesh, > > Look at the page: > > http://www.cmake.org/Wiki/CMake_Generating_Testing_Files > > Andy > > Vignesh M.P.N. wrote: > >> Hi all >> >> I am a CMake newbie and new to build process too. So I felt the >> documentation insufficient. >> >> I am basically trying to use CTest as a client to Dart without using >> CMake. I just want to initially try this with a simple HelloWorld.java. >> >> So here is what I've done. My project folder just has the HelloWorld >> class file, DartConfiguration.tcl and DartTestfile.txt. I just want >> to run CTest to run this single file and post the result to the >> Public Dashboard. >> >> I suppose the following content is sufficient for my DartTestfile.txt >> >> ADD_TEST(HelloWorld-test "java" "HelloWorld" "argument") >> >> I have problems in setting up DartConfiguration.tcl because not much >> information is provided in the documentation, as it is considered as >> "self-explanatory". But as a newbie I not comfortable with it. I >> don't have any subdir structure, just a single class file! >> >> As per the example, >> >> SourceDirectory: /path/to/project/source/directory >> >> BuildDirectory: /path/to/project/build/directory >> >> CVSUpdateOptions: -d -A -P >> >> Site: my-system-name >> >> BuildName: build-name >> >> DropSite: public.kitware.com >> >> DropLocation: /cgi-bin/HTTPUploadDartFile.cgi >> DropMethod: http >> >> TriggerSite: >> http://public.kitware.com/cgi-bin/Submit-Random-TestingResults.pl >> >> NightlyStartTime: 21:00:00 EDT >> >> ConfigureCommand: "/path/to/source/directory/Project/configure" >> >> MakeCommand: /usr/bin/make -i >> >> CVSCommand: /usr/bin/cvs >> >> CoverageCommand: /usr/bin/gcov >> >> TimeOut: 1500 >> >> Please explain me about each key and what values would fit for my >> simple requirement just to kick off. >> >> Thanks >> >> Vignesh. >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> CMake mailing list >> [email protected] >> http://www.cmake.org/mailman/listinfo/cmake >> > > -- Andy Cedilnik Kitware Inc. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
