[libcxx] [test] Fix the transitive_includes test on Windows
authorMartin Storsjö <martin@martin.st>
Wed, 6 Jul 2022 21:51:19 +0000 (00:51 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 19 Aug 2022 20:12:54 +0000 (23:12 +0300)
commit8a002ab99eea0e368dfabf7c20c63be0a6722810
treeeae657341a1b0af640fa72bb2af2d142f2a2326b
parent1c1ecee8da6075e1d6fd1e13b5c04809b4526386
[libcxx] [test] Fix the transitive_includes test on Windows

Look for both kinds of slashes in include paths output from the
compiler.

Use "diff -w" to do a whitespace insensitive comparison, to ignore
differences in line endings (the python script writes to stdout
in text mode, with crlf newlines).

Differential Revision: https://reviews.llvm.org/D129428
libcxx/test/libcxx/transitive_includes.sanitize.py
libcxx/test/libcxx/transitive_includes.sh.cpp