test/cli: tweak exclude path to make it work in windows

This commit is contained in:
Daniel Marjamäki 2019-04-15 09:11:23 +02:00
parent 4adc3773c5
commit 1a8a40ea35
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def test_gui_project_loads_compile_commands_2():
' <root name="."/>'
' <importproject>compile_commands.json</importproject>'
' <exclude>'
' <path name="' + os.path.join(os.getcwd(), 'proj2', 'b') + '"/>'
' <path name="' + os.path.join(os.getcwd(), 'proj2', 'b').replace('\\', '/') + '"/>'
' </exclude>'
'</project>')
f = open('proj2/test.cppcheck', 'wt')