test/cli: tweak exclude path to make it work in windows
This commit is contained in:
parent
4adc3773c5
commit
1a8a40ea35
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue