aboutsummaryrefslogtreecommitdiff
path: root/tests/fruit_test_common.py
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2017-06-17 18:14:37 +0100
committerMarco Poletti <poletti.marco@gmail.com>2017-06-17 18:14:37 +0100
commite583926119ca133ab6f04b57e247d76fa347f666 (patch)
treee08d48c030eebd49d67e948fd8bdce0dd93acc32 /tests/fruit_test_common.py
parent810522373474d0e734545bcde383f459be712f49 (diff)
downloadgoogle-fruit-e583926119ca133ab6f04b57e247d76fa347f666.tar.gz
Fix a typo in fruit's testing code that was causing test failures when testing under Valgrind.
Diffstat (limited to 'tests/fruit_test_common.py')
-rw-r--r--tests/fruit_test_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fruit_test_common.py b/tests/fruit_test_common.py
index 44671ed..b325e2b 100644
--- a/tests/fruit_test_common.py
+++ b/tests/fruit_test_common.py
@@ -73,7 +73,7 @@ def run_command(executable, args=[], modify_env=lambda env: env):
def run_compiled_executable(executable):
if run_under_valgrind:
- args = VALGRIND_FLAGS.split() + [output_file_name]
+ args = VALGRIND_FLAGS.split() + [executable]
run_command('valgrind', args = args, modify_env = modify_env_for_compiled_executables)
else:
run_command(executable, modify_env = modify_env_for_compiled_executables)