Fix filesystem::path tests
authorJonathan Wakely <jwakely@redhat.com>
Tue, 30 Apr 2019 10:39:59 +0000 (11:39 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 30 Apr 2019 10:39:59 +0000 (11:39 +0100)
commit95767c6597e32256b3850c9bed4fd8ce1f0da089
tree0bd4a9c2babb4798a8d651ac383663e51622d0f7
parent0d67a51060e7d67b685ace6ba5395d9a98e2f5be
Fix filesystem::path tests

The root_path.cc test had some debugging macros left in accidentally, so
didn't FAIL correctly if an assertion failed.

The string-char8_t.cc tests didn't compile on Windows.

* testsuite/27_io/filesystem/path/decompose/root_path.cc: Remove
macros accidentally left in.
* testsuite/27_io/filesystem/path/native/string-char8_t.cc: Remove
unnecessary -lstdc++fs option. Fix test for mingw.
* testsuite/experimental/filesystem/path/native/string-char8_t.cc:
Fix test for mingw.

From-SVN: r270685
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/filesystem/path/decompose/root_path.cc
libstdc++-v3/testsuite/27_io/filesystem/path/native/string-char8_t.cc
libstdc++-v3/testsuite/experimental/filesystem/path/native/string-char8_t.cc