diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 7593c0da4aa..5eb8bd54f59 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -342,15 +342,14 @@ def parseOptionsAndInitTestdirs(): configuration.skipCategories += test_categories.validate( args.skipCategories, False) - cflags_extras = "" if args.E: - cflags_extras += args.E + os.environ['CFLAGS_EXTRAS'] = args.E if args.dwarf_version: configuration.dwarf_version = args.dwarf_version - cflags_extras += '-gdwarf-{}'.format(args.dwarf_version) - - os.environ['CFLAGS_EXTRAS'] = cflags_extras + # We cannot modify CFLAGS_EXTRAS because they're used in test cases + # that explicitly require no debug info. + os.environ['CFLAGS'] = '-gdwarf-{}'.format(configuration.dwarf_version) if args.d: sys.stdout.write( |