summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/allplatformstests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index d6ff3b0ad..f48bc5167 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -1083,7 +1083,7 @@ class AllPlatformTests(BasePlatformTests):
for cmd in self.get_compdb():
# Get compiler
split = split_args(cmd['command'])
- if split[0] == 'ccache':
+ if split[0] in ('ccache', 'sccache'):
compiler = split[1]
else:
compiler = split[0]