History log of /external/llvm/unittests/Support/ProgramTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/unittests/Support/ProgramTest.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/unittests/Support/ProgramTest.cpp
c269c4f505a2dd7c3a88d12706257410ed6c7068 01-Oct-2013 Tareq A. Siraj <tareq.a.siraj@intel.com> Add non-blocking Wait() for launched processes

- New ProcessInfo class to encapsulate information about child processes.
- Generalized the Wait() to support non-blocking wait on child processes.
- ExecuteNoWait() now returns a ProcessInfo object with information about
the launched child. Users will be able to use this object to
perform non-blocking wait.
- ExecuteNoWait() now accepts an ExecutionFailed param that tells if execution
failed or not.

These changes will allow users to implement basic process parallel
tools.

Differential Revision: http://llvm-reviews.chandlerc.com/D1728


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
f51ecf2ad068f1bcc55940dee8c66acf4a44ed60 20-Sep-2013 Tareq A. Siraj <tareq.a.siraj@intel.com> Fixed typo in CreateProcessTrailingSlash test

--gtest_filter was filtering an invalid name for the test.

Differential Revision: http://llvm-reviews.chandlerc.com/D1733


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191100 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
df0f525cc49511cf9dca82d77b93675bcaf5103c 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove unused includes.

llvm itself is now PathV1 clean.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
50188c1f42c122640ab9ccac2134acf371c26b2c 26-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Port GetMainExecutable over to PathV2.

I will remove the V1 version as soon as I change clang in the next commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
675e0ac0bfd6fb78423d9fbee9f50c1dec62c111 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Avoid using PathV1.h in Program.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
9f1d9fd1964d82f3e801efb71518144492cdf290 12-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com> Remove the program class.

It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183864 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
2a839438559bc7d3067ff2166105f47e0af06b37 30-Apr-2013 Reid Kleckner <reid@kleckner.net> Try to fix ProgramTest on FreeBSD

This seemed like the cleanest way to find the test executable. Also fix
the file mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
268adf2a03cf352593b632c5249c83f4fc56956f 24-Apr-2013 Reid Kleckner <reid@kleckner.net> Don't forward declare environ on Windows

That seems to interact poorly with the environ and _environ macros
defined in MSVC's <stdlib.h>.

Also remove the incorrect comment about _NSGetEnviron().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
8eca677afee90d6a28487fd3db0bca129bde7186 23-Apr-2013 Reid Kleckner <reid@kleckner.net> Un-revert the environ copy in ProgramTest after fixing it on OS X

This was r180041 and r180046, which was reverted in r180066.
Re-committing this should fix the dragonegg bootstrap, which I presume
needs LD_LIBRARY_PATH to be propagated to the child.

Tested on Linux, Windows, and Mac OS 10.6.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
2c8dc64357083e81b36a44698a4bacb229f12317 23-Apr-2013 Michael Gottesman <mgottesman@apple.com> Revert "Add a missing reference on a std::vector<> out param"
Revert "[Support] Propagate the environment into the test child process"

This reverts commit r180046.
This reverts commit r180041.

These have broken buildbots for ~3 hours:

http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/763

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
0af5493701f9982d7451c8b3c1b7699cc84ac94c 22-Apr-2013 Reid Kleckner <reid@kleckner.net> Add a missing reference on a std::vector<> out param

Pointed out by Eli. The test passes for me either way, so I missed
this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180046 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
6641fa7c6c8873343d94f48a996209ebeb7b5b34 22-Apr-2013 Reid Kleckner <reid@kleckner.net> [Support] Propagate the environment into the test child process

Should fix the dragonegg bootstrap builder, which reasonably needs
LD_LIBRARY_PATH to be set.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp
0b675d88309bdcbb387bbee907c4ef9d98e412a2 22-Apr-2013 Reid Kleckner <reid@kleckner.net> [Support] Fix argv string escape bug on Windows

Summary:
This is http://llvm.org/PR15802. Backslashes preceding double quotes in
arguments must be escaped. The interesting bit is that all other
backslashes should *not* be escaped, because the un-escaping logic is
only triggered by the presence of a double quote character.

Reviewers: Bigcheese

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D705

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/ProgramTest.cpp