[all-commits] [llvm/llvm-project] e23317: [libcxx] [test] Adjust separator form in fs.op.abs...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Tue Mar 9 06:59:34 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e23317c9dae965ebc5534acea0352621740ae1e7
https://github.com/llvm/llvm-project/commit/e23317c9dae965ebc5534acea0352621740ae1e7
Author: Martin Storsjö <martin at martin.st>
Date: 2021-03-09 (Tue, 09 Mar 2021)
Changed paths:
M libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/absolute.pass.cpp
M libcxx/test/support/filesystem_test_helper.h
Log Message:
-----------
[libcxx] [test] Adjust separator form in fs.op.absolute for libc++ on windows
This test was previously tweaked in
321f696920630be1b3c93e2a8b965c624ddd646c to match the output of
of MS STL (except that the MS STL fails on the testcase with an
empty path).
libc++ doesn't produce paths with all normalized separators (and the
spec doesn't mandate it to either).
Tweak the test reference to match exactly what libc++ produces. If
testing with a non-libc++ library, do a relaxed comparison that allows
the separators to differ.
Differential Revision: https://reviews.llvm.org/D98215
More information about the All-commits
mailing list