aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2019-10-01 23:11:25 +0100
committerSergio Martins <smartins@kde.org>2019-10-01 23:11:25 +0100
commit7ce16505d7e01b0c3cae1888fea905b1d886684e (patch)
tree186be4110f02026c524b6db82def056aee046066
parent0bd2a0325326d46fd6e6e9d331db360f7ba09fa2 (diff)
tests: Allow to specify the clang-apply-replacements binary
-rwxr-xr-xtests/run_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run_tests.py b/tests/run_tests.py
index b8c0c0af..5f9cecc5 100755
--- a/tests/run_tests.py
+++ b/tests/run_tests.py
@@ -503,7 +503,8 @@ def patch_fixit_yaml_file(test, is_standalone):
return True
def run_clang_apply_replacements():
- return run_command('clang-apply-replacements .')
+ command = os.getenv('CLAZY_CLANG_APPLY_REPLACEMENTS', 'clang-apply-replacements')
+ return run_command(command + ' .')
def cleanup_fixit_files(checks):
for check in checks: