Fix valgind
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 50894d1..a4cb08f 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -36,7 +36,7 @@
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 @@
'node': NodeLanguage(),
'php': PhpLanguage(),
'python': PythonLanguage(),
-}
+ }
# parse command line
argp = argparse.ArgumentParser(description='Run grpc tests.')