<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<BR><BR> This is to ask regarding using SVN username and password inside CTest script.<BR><BR> I have a file script.cmake which I am using as follows :<BR><BR> ctest -S script.cmake<BR><BR> script.cmake contains below lines relevant to "svn update":<BR><BR> find_program(CTEST_SVN_COMMAND NAMES svn)<BR> set(CTEST_UPDATE_COMMAND "${CTEST_SVN_COMMAND}")<BR> set(CTEST_UPDATE_OPTIONS "--username <my_svn_username> --password <my_svn_password>")<BR><BR> ctest_update(RETURN_VALUE updateRV)<BR><BR> But, when I give 'ctest -S script.cmake', it again asks for the svn password eventhough I have hard-coded svn username and password in script.cmake.<BR> My requirement is that, I am setting up a cronjob for nightly builds and I do not want it
to ask for an svn password.<BR><BR> In the output I can see following lines :<BR>SetCTestConfigurationFromCMakeVariable:UpdateCommand:CTEST_UPDATE_COMMANDSetCTestConfiguration:UpdateCommand:/usr/bin/svn<BR>SetCTestConfigurationFromCMakeVariable:UpdateOptions:CTEST_UPDATE_OPTIONSSetCTestConfiguration:UpdateOptions:--username <my_svn_username> --password <my_svn_password><BR>SetCTestConfigurationFromCMakeVariable:SVNCommand:CTEST_SVN_COMMANDSetCTestConfiguration:SVNCommand:/usr/bin/svn<BR><BR> Can you please let me know if I can 'svn update' the code without it asking for a password?<BR> ctest version I am using is 2.8.3<BR><BR>Regards,<BR>Girish</td></tr></table><br>