[CMake] CTest newbie

Vignesh M.P.N. manivig at iit.edu
Fri Mar 3 17:58:45 EST 2006


Hi

I thought of being more specific with my problem. I just want to simply test
a file and post the result to a Dart server, initially to kick off.

I don't want to build, no CVS, nothing. Just test a single file and report.

In that case, based on my understanding I feel my configuration file will
look as simple as this. I've commented all those could be omitted.

# SourceDirectory: C:\Cleversafe\src\swdev-grid\trunk\src
# BuildDirectory: /src
# CVSUpdateOptions: -d -A -P
Site: localhost
BuildName: VTeam-test
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

And I tried running CTest using "ctest -D Experimental"

It says "Problem initializing the dashboard"

Please help.

Thanks
Vignesh.

-----Original Message-----
From: cmake-bounces+manivig=iit.edu at cmake.org
[mailto:cmake-bounces+manivig=iit.edu at cmake.org] On Behalf Of Vignesh M.P.N.
Sent: Friday, March 03, 2006 2:05 PM
To: CMake
Subject: RE: [CMake] CTest newbie

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:andy.cedilnik at kitware.com] 
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
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>
>


-- 
Andy Cedilnik
Kitware Inc.


_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list