Skip to content

Commit c3b73e7

Browse files
Update test_cppcheck.py
1 parent dd6802b commit c3b73e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sources/test_cppcheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def test_sources_with_cppcheck(self):
137137
'src/controller/c/sha1.c',
138138
'src/controller/c/sha1.h'
139139
]
140-
if sys.platform.startswith('win32'):
140+
if not sys.platform.startswith('win32'):
141141
skippedFiles.append('src/webots/core/WbWindowsRegistry.hpp')
142142
command = 'cppcheck --platform=native --enable=warning,style,performance,portability --inconclusive -q'
143143
command += self.platformOptions

0 commit comments

Comments
 (0)