diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2015-12-22 17:14:47 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2015-12-22 17:14:47 +0000 |
commit | 5bdbef649b13e1be907717ee9c1bd63bd8790671 (patch) | |
tree | 6ad6fc488f0f6dde08493bb13314a491a742f53a /lldb/packages/Python/lldbsuite/test/lldbinline.py | |
parent | 677f3fb215bf9201807ad189fb6ea942596c8a35 (diff) | |
download | bcm5719-llvm-5bdbef649b13e1be907717ee9c1bd63bd8790671.tar.gz bcm5719-llvm-5bdbef649b13e1be907717ee9c1bd63bd8790671.zip |
test infra: fix lldbinline tests to work with rerun
Fixes:
https://llvm.org/bugs/show_bug.cgi?id=25922
llvm-svn: 256255
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbinline.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbinline.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py index 67a5e817970..691a3fba6dc 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbinline.py +++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py @@ -203,6 +203,8 @@ def MakeInlineTest(__file, __globals, decorators=None): # Add the test case to the globals, and hide InlineTest __globals.update({test_name : test}) - + + # Store the name of the originating file.o + test.test_filename = __file return test |