test_core: Add comment to clarify valgrind invocation
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
This commit is contained in:
parent
7655640718
commit
5fadc482b6
|
@ -78,6 +78,9 @@ class TestCore(unittest.TestCase):
|
|||
print('failed')
|
||||
|
||||
|
||||
# Invoke this script as "python test_core_valgrind.py"
|
||||
# for the "valgrind" variant
|
||||
# (test_core_valgrind.py is a symlink to test_core.py)
|
||||
if __name__ == "__main__":
|
||||
if '_valgrind' in sys.argv[0]:
|
||||
if (0 != os.system("which valgrind")):
|
||||
|
|
Loading…
Reference in New Issue