[clangd][test] Make sed git bash compliant
This commit is contained in:
parent
e13c0b650a
commit
3be73dfde7
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# On Windows, we need the URI in didOpen to look like "uri":"file:///C:/..."
|
||||
# (with the extra slash in the front), so we add it here.
|
||||
# RUN: sed -E -e "s|file://([A-Z]):/|file:///\1:/|g" %t.test.1 > %t.test
|
||||
# RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %t.test.1 > %t.test
|
||||
|
||||
# RUN: clangd -lit-test < %t.test | FileCheck -strict-whitespace %t.test
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
# RUN: sed -e "s|INPUT_DIR|%/t.dir|g" %s > %t.test.1
|
||||
# On Windows, we need the URI in didOpen to look like "uri":"file:///C:/..."
|
||||
# (with the extra slash in the front), so we add it here.
|
||||
# RUN: sed -E -e "s|file://([A-Z]):/|file:///\1:/|g" %t.test.1 > %t.test
|
||||
# RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %t.test.1 > %t.test
|
||||
|
||||
# Bless the mock driver we've just created so that clangd can execute it.
|
||||
# RUN: clangd -lit-test -query-driver="**.test,**.sh" < %t.test | FileCheck -strict-whitespace %t.test
|
||||
|
|
|
|||
Loading…
Reference in New Issue