GNOME Bugzilla – Bug 345723
Block the running script if it error.
Last modified: 2006-08-01 05:23:59 UTC
Please describe the problem: If script raises a exception and doesnt dispose own, the runing script will be blocked. Steps to reproduce: 1. write a script case000.py: raise 'raises a expection' 2. writes a xml test.xml(in the same folder): <?xml version="1.0"?> <ldtp> <logfileoverwrite>1</logfileoverwrite> <logfile>~/loggedit.xml</logfile> <group> <script> <name>case000.py</name> </script> </group> </ldtp> 3. run the command under the CLI gldap.py test.xml Actual results: the script never return Expected results: log the exception to log file Does this happen every time? every Other information: the laster version checked by cvs -- 062306
Created attachment 69998 [details] [review] Patch to have relative file path in log
Running the scritp can continuous be deal with by ldtprunner. But, in xml file: ============================================ <?xml version="1.0"?> <ldtp> <logfileoverwrite>1</logfileoverwrite> <logfile>./loggedit.xml</logfile> <group> <script> <name>~/work/gedit/temp/test.py</name> </script> </group> </ldtp> ============================================ The script file 'test.py' can not be recognized yet. Check again plz. Thank.
Created attachment 70013 [details] [review] ldtprunner file expand patch
Lavi: Fixed in CVS. If you still have any issues, please reopen the bug.