[Lldb-commits] [PATCH] D15318: Get rid of global variables in dotest.py

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 7 21:55:31 PST 2015


tfiala added a comment.

Here's what I'm seeing so far (as of r254983) when running on OS X:

  $ test/dotest.py --results-formatter lldbsuite.test.basic_results_formatter.BasicResultsFormatter
  Traceback (most recent call last):
    File "test/dotest.py", line 6, in <module>
      import lldbsuite.test
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/__init__.py", line 5, in <module>
      from . import dotest
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/dotest.py", line 43, in <module>
      from . import configuration
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 223, in <module>
      __setupCrashInfoHook()
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 33, in __setupCrashInfoHook
      test_dir = os.environ['LLDB_TEST']
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'LLDB_TEST'



  $ test/dotest.py --curses
  Traceback (most recent call last):
    File "test/dotest.py", line 6, in <module>
      import lldbsuite.test
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/__init__.py", line 5, in <module>
      from . import dotest
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/dotest.py", line 43, in <module>
      from . import configuration
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 223, in <module>
      __setupCrashInfoHook()
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 33, in __setupCrashInfoHook
      test_dir = os.environ['LLDB_TEST']
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'LLDB_TEST'



  $ test/dotest.py
  Traceback (most recent call last):
    File "test/dotest.py", line 6, in <module>
      import lldbsuite.test
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/__init__.py", line 5, in <module>
      from . import dotest
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/dotest.py", line 43, in <module>
      from . import configuration
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 223, in <module>
      __setupCrashInfoHook()
    File "/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/configuration.py", line 33, in __setupCrashInfoHook
      test_dir = os.environ['LLDB_TEST']
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 23, in __getitem__
      raise KeyError(key)
  KeyError: 'LLDB_TEST'


http://reviews.llvm.org/D15318





More information about the lldb-commits mailing list