summaryrefslogtreecommitdiffstats
path: root/scripts/oe-selftest
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 12:46:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-31 13:18:12 +0100
commit6069175e9bb97ace100bb5e99b6104d33163a3a2 (patch)
tree12f21f91b10b1baf4edaf25c39b3fc56acb95205 /scripts/oe-selftest
parentf0b21c0c1a5f50126eff098568a792a1be85f422 (diff)
downloadopenembedded-core-6069175e9bb97ace100bb5e99b6104d33163a3a2.tar.gz
openembedded-core-6069175e9bb97ace100bb5e99b6104d33163a3a2.tar.bz2
openembedded-core-6069175e9bb97ace100bb5e99b6104d33163a3a2.zip
scripts, lib: Don't limit traceback lengths to arbitrary values
There appears to have been a lot of copy and pasting of the code which prints tracebacks upon failure and limits the stack trace to 5 entries. This obscures the real error and is very confusing to the user it look me an age to work out why some tracebacks weren't useful. This patch removes the limit, making tracebacks much more useful for debugging. [YOCTO #9230] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-selftest')
-rwxr-xr-xscripts/oe-selftest2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-selftest b/scripts/oe-selftest
index 9b61bfaddd..9b29ae0b42 100755
--- a/scripts/oe-selftest
+++ b/scripts/oe-selftest
@@ -630,7 +630,7 @@ if __name__ == "__main__":
except Exception:
ret = 1
import traceback
- traceback.print_exc(5)
+ traceback.print_exc()
finally:
remove_include()
remove_inc_files()