diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index 50894d189b6730c00e52730476ba5e46c203dec5..a4cb08fa8712b27e829d1b6b8e8122c4a68901d6 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -36,7 +36,7 @@ class ValgrindConfig(object): self.allow_hashing = False def run_command(self, binary): - return ['valgrind', binary, '--tool=%s' % self.tool] + return ['valgrind', '--tool=%s' % self.tool, binary] class CLanguage(object): @@ -125,7 +125,7 @@ _LANGUAGES = { 'node': NodeLanguage(), 'php': PhpLanguage(), 'python': PythonLanguage(), -} + } # parse command line argp = argparse.ArgumentParser(description='Run grpc tests.')