Skip to content

Commit 75efdd7

Browse files
committed
--msvc isn't a listed option if you're not on Windows anymore, so don't pass it in tests
1 parent 2361d15 commit 75efdd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def BuildYcmdLibs( args ):
199199
if key in args.completers:
200200
build_cmd.extend( COMPLETERS[ key ][ 'build' ] )
201201

202-
if args.msvc:
202+
if args.msvc and platform.system() == 'Windows':
203203
build_cmd.extend( [ '--msvc', str( args.msvc ) ] )
204204

205205
if args.coverage:

0 commit comments

Comments
 (0)