Author: ericwf Date: Thu May 11 20:49:32 2017 New Revision: 302864 URL: http://llvm.org/viewvc/llvm-project?rev=302864&view=rev Log: Move tests for libc++ configurations into libcxx/ test subdirectory
Added: libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/ libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp - copied, changed from r302862, libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp - copied, changed from r302862, libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp Removed: libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/lit.local.cfg libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp Copied: libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp (from r302862, libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp) URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp?p2=libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp&p1=libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp&r1=302862&r2=302864&rev=302864&view=diff ============================================================================== --- libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp (original) +++ libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp Thu May 11 20:49:32 2017 @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +// REQUIRES: libcpp-has-no-global-filesystem-namespace + #include <cstdio> int main() { Copied: libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp (from r302862, libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp) URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp?p2=libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp&p1=libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp&r1=302862&r2=302864&rev=302864&view=diff ============================================================================== --- libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp (original) +++ libcxx/trunk/test/libcxx/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp Thu May 11 20:49:32 2017 @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +// REQUIRES: libcpp-has-no-global-filesystem-namespace + #include <cstdio> int main() { Removed: libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp?rev=302863&view=auto ============================================================================== --- libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp (original) +++ libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/fopen.fail.cpp (removed) @@ -1,15 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include <cstdio> - -int main() { - // fopen is not available on systems without a global filesystem namespace. - std::fopen("", ""); -} Removed: libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/lit.local.cfg URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/lit.local.cfg?rev=302863&view=auto ============================================================================== --- libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/lit.local.cfg (original) +++ libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/lit.local.cfg (removed) @@ -1,2 +0,0 @@ -if 'libcpp-has-no-global-filesystem-namespace' not in config.available_features: - config.unsupported = True Removed: libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp?rev=302863&view=auto ============================================================================== --- libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp (original) +++ libcxx/trunk/test/std/input.output/file.streams/c.files/no.global.filesystem.namespace/rename.fail.cpp (removed) @@ -1,15 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include <cstdio> - -int main() { - // rename is not available on systems without a global filesystem namespace. - std::rename("", ""); -} _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits