summaryrefslogtreecommitdiff
path: root/scripts/LocalDriver.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/LocalDriver.py')
-rw-r--r--scripts/LocalDriver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/LocalDriver.py b/scripts/LocalDriver.py
index 97e173d0db1..b3d59be6d7e 100644
--- a/scripts/LocalDriver.py
+++ b/scripts/LocalDriver.py
@@ -424,7 +424,8 @@ class LocalDriver(Driver):
current.config = conf
testcase.run(current)
except:
- print(traceback.format_exc())
+ if current.driver.debug:
+ current.result.writeln(traceback.format_exc())
raise
finally:
current.config = config