From: <jh...@us...> - 2009-02-06 17:22:22
|
Revision: 63 http://etch.svn.sourceforge.net/etch/?rev=63&view=rev Author: jheiss Date: 2009-02-06 17:22:19 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Fix up the way in which debug is activated. Previously it changed the variable that was passed to us, possibly messing up the caller if it used that variable again later. Modified Paths: -------------- trunk/test/etchtest.rb Modified: trunk/test/etchtest.rb =================================================================== --- trunk/test/etchtest.rb 2009-02-06 17:20:51 UTC (rev 62) +++ trunk/test/etchtest.rb 2009-02-06 17:22:19 UTC (rev 63) @@ -54,6 +54,7 @@ sleep(5) else Dir.chdir('../server/trunk') + #Dir.chdir('../server/branches/libxml') # Causes ruby to fork, so we're left with a useless pid #exec("./script/server -d -p #{port}") # Causes ruby to invoke a copy of sh to run the command (to handle @@ -70,7 +71,7 @@ end def run_etch(port, testbase, errors_expected=false, extra_args='') - #extra_args << " --debug" + #extra_args = extra_args + " --debug" if errors_expected # Warn the user that errors are expected. Otherwise it can be # disconcerting if you're watching the tests run and see errors. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |