[LDTP-Dev] [Bug 345723] New: Block the running script if it error.
LDTP (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Jun 23 00:44:17 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=345723
LDTP | ldtp | Ver: 0.4.x
Summary: Block the running script if it error.
Product: LDTP
Version: 0.4.x
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: ldtp
AssignedTo: ldtp-maint at gnome.bugs
ReportedBy: Guofu.Xu at palmsource.com
QAContact: ldtp-dev at lists.freedesktop.org
GNOME version: Unspecified
GNOME milestone: Unspecified
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
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are watching the assignee for the bug.
More information about the LDTP-dev
mailing list