<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<BR><BR>&nbsp;&nbsp; This is to ask regarding using SVN username and password inside CTest script.<BR><BR>&nbsp;&nbsp; I have a file script.cmake which I am using as follows :<BR><BR>&nbsp;&nbsp; ctest -S script.cmake<BR><BR>&nbsp;&nbsp; script.cmake contains below lines relevant to "svn update":<BR><BR>&nbsp;&nbsp; find_program(CTEST_SVN_COMMAND NAMES svn)<BR>&nbsp;&nbsp; set(CTEST_UPDATE_COMMAND "${CTEST_SVN_COMMAND}")<BR>&nbsp;&nbsp; set(CTEST_UPDATE_OPTIONS "--username &lt;my_svn_username&gt; --password &lt;my_svn_password&gt;")<BR><BR>&nbsp;&nbsp; ctest_update(RETURN_VALUE updateRV)<BR><BR>&nbsp;&nbsp; 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>&nbsp;&nbsp; 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>&nbsp;&nbsp; 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 &lt;my_svn_username&gt; --password &lt;my_svn_password&gt;<BR>SetCTestConfigurationFromCMakeVariable:SVNCommand:CTEST_SVN_COMMANDSetCTestConfiguration:SVNCommand:/usr/bin/svn<BR><BR>&nbsp;&nbsp; Can you please let me know if I can 'svn update' the code without it asking for a password?<BR>&nbsp;&nbsp; ctest version I am using is 2.8.3<BR><BR>Regards,<BR>Girish</td></tr></table><br>