mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Make lit pay attention to --vg for unittests too.
llvm-svn: 98449
This commit is contained in:
parent
c57043834c
commit
48cd56b96a
@ -72,6 +72,14 @@ class GoogleTest(object):
|
||||
testName = os.path.join(namePrefix, testName)
|
||||
|
||||
cmd = [testPath, '--gtest_filter=' + testName]
|
||||
if litConfig.useValgrind:
|
||||
valgrindArgs = ['valgrind', '-q',
|
||||
'--tool=memcheck', '--trace-children=yes',
|
||||
'--error-exitcode=123']
|
||||
valgrindArgs.extend(litConfig.valgrindArgs)
|
||||
|
||||
cmd = valgrindArgs + cmd
|
||||
|
||||
out, err, exitCode = TestRunner.executeCommand(
|
||||
cmd, env=test.config.environment)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user