16e2ba19dfffdcf9bba202eb8a27fd79e3d15303 |
|
18-Jan-2017 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[libcxx] [test] Fix comment typos, strip trailing whitespace. No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
7aa3806b8c8d7650dd1bb082786b1d6cfe80a556 |
|
29-Apr-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix possible test breakage for MinGW git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
59f8126f68d07b984c5492ec4d93f8f6000f513a |
|
29-Apr-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix get_temp_file_name() to compile on Windows. Patch from STL@microsoft.com git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267963 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
375e2f669cb882eb9a9700ab7fd1de8d2b57665f |
|
29-Apr-2016 |
Eric Fiselier <eric@efcs.ca> |
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
5ccbc4877466279badcf2b1b46afc641cc401851 |
|
22-Apr-2016 |
Eric Fiselier <eric@efcs.ca> |
Fix some non-standard parts of our test suite. Reported by STL git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
b33ae5ba7dd53c8736a79fe19870ae856deebadb |
|
12-Mar-2015 |
Ed Schouten <ed@nuxi.nl> |
Add option to disable access to the global filesystem namespace. Systems like FreeBSD's Capsicum and Nuxi CloudABI apply the concept of capability-based security on the way processes can interact with the filesystem API. It is no longer possible to interact with the VFS through calls like open(), unlink(), rename(), etc. Instead, processes are only allowed to interact with files and directories to which they have been granted access. The *at() functions can be used for this purpose. This change adds a new config switch called _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE. If set, all functionality that requires the global filesystem namespace will be disabled. More concretely: - fstream's open() function will be removed. - cstdio will no longer pull in fopen(), rename(), etc. - The test suite's get_temp_file_name() will be removed. This will cause all tests that use the global filesystem namespace to break, but will at least make all the other tests run (as get_temp_file_name will not build anyway). It is important to mention that this change will make fstream rather useless on those systems for now. Still, I'd rather not have fstream disabled entirely, as it is of course possible to come up with an extension for fstream that would allow access to local filesystem namespaces (e.g., by adding an openat() member function). Differential revision: http://reviews.llvm.org/D8194 Reviewed by: jroelofs (thanks!) git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@232049 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
2020d8ac89e4ee5fd75501a69fe804e39cd1b8c1 |
|
09-Mar-2015 |
Ed Schouten <ed@80386.nl> |
Add CloudABI locale names to platform_support.h. On CloudABI we should append the timezone name to the end of the locale (e.g., nl_NL.UTF-8@Europe/Amsterdam). By fixing the locale names we can already let a lot of locale related tests pass. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231649 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
1bd299a58eaea777106289027eab4832481eab7f |
|
13-Feb-2015 |
Dan Albert <danalbert@google.com> |
Fix error checking in get_temp_file_name(). Checking errno without first checking that the call failed means that if some other call prior to mkstemp failed with EINVAL prior to this, the assert would fire even if mkstemp succeeded. If something failed with EEXIST, it would go in to an infinite loop. Change-Id: I3f140a3e15fe08664a38a8c9a950c4ed547eb481 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
2f2daa14367999b0520661eea28e41287a4cbf63 |
|
11-Dec-2014 |
Jonathan Roelofs <jonathan@codesourcery.com> |
Fix platform_support.h's get_temp_file_name() on Newlib under __STRICT_ANSI__ git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
682132b4cce0bd974e1831801a78709732594a3a |
|
19-Aug-2014 |
Eric Fiselier <eric@efcs.ca> |
fix missing include for ::close in platform_support.h git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215998 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
6f10d47bbc98e817fbb0485a9a28c1b67076629a |
|
19-Aug-2014 |
Jonathan Roelofs <jonathan@codesourcery.com> |
Give libcxx tests temporary filenames that are actually unique. This fixes a race condition on temp file name creation. http://reviews.llvm.org/D4962 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@215977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
ae2b90b86d131d118bb9f54b6b93edd0384cd7b0 |
|
06-Oct-2013 |
Howard Hinnant <hhinnant@apple.com> |
G M: 1. It changes the temp file handling to use the template and the current directory for windows, matching how it works on other platforms. 2. It re-enables the temp file handling for mingw that regressed. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
e9df0a5c6c864f1ea86486881a3ee559c56105e7 |
|
01-Aug-2013 |
Howard Hinnant <hhinnant@apple.com> |
Nico Rieck: Currently _MSC_VER and _WIN32 are used to guard code which is MSVC-specific, MSVCRT-specific, or Windows-specific. Because Clang can also define _MSC_VER, and MSVCRT is not necessarily the only C runtime, these macros should not be used interchangeably. This patch divides all Windows-related bits into the aforementioned categories. Two new macros are introduced: - _LIBCPP_MSVC: Defined when compiling with MSVC. Detected using _MSC_VER, excluding Clang. - _LIBCPP_MSVCRT: Defined when using the Microsoft CRT. This is the default when _WIN32 is defined. This leaves _WIN32 for code using the Windows API. This also corrects the spelling of _LIBCP_HAS_IS_BASE_OF to _LIBCPP_HAS_IS_BASE_OF. Nico, please prepare a patch for CREDITS.TXT, thanks. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187593 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
a5f0e6c5c188e35ca71bc176031cb51765d11d79 |
|
25-Apr-2013 |
Howard Hinnant <hhinnant@apple.com> |
İsmail Dönmez: Change to mktemp template to make it compatible with Linux. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
06d8bf6ce2008526732ae40ad46f7ff031c409e7 |
|
22-Mar-2013 |
Howard Hinnant <hhinnant@apple.com> |
Test cleanup with respect to use of deprecated tmpnam function. Also Windows port for these tests to use _tempnam. The bulk of this patch was donated anonymously. I've tested it on OS X and accept responsibility for it. If I've broken anyone's platform by switching from tmpnam to mktemp for the generation of temporary file names, just let me know. Should be easy to fix in test/support/platform_support.h git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
a22d2addb1287a7642bfcb211ae2cb21890d1cbd |
|
18-Mar-2013 |
Marshall Clow <mclow@qualcomm.com> |
Removed raw references to _WIN32; now just check to see if it is defined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
b4ebb0e415549c5dc04e0622bb8f06999c558ede |
|
14-Jan-2013 |
Howard Hinnant <hhinnant@apple.com> |
Michael van der Westhuizen: Improve support for testing on Linux. Fixes http://llvm.org/bugs/show_bug.cgi?id=14892. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@172436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|
83e2c4d877fe2d7793868b1c6a5d9525a7c4d431 |
|
05-Jan-2013 |
Marshall Clow <mclow@qualcomm.com> |
Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@171594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/support/platform_support.h
|