f62f39af02b5a8f0282f6b8e10181a20051493f8 |
|
10-Mar-2015 |
Dan Albert <danalbert@google.com> |
Copy data files to the remote runner. Summary: The data files for any given test will be in the same directory as the source with a file name that matches *.dat. To make these available to tests running remotely (such as over adb or ssh), copy them into the test's remote working directory. Note that we will perform more copies than we actually need. The data files in the directory may only be used by one of the tests, but will be copied for all tests in the same directory. This patch also moves the remote test binary into the working directory (previously it was only invoked from the working directory rather than existing in it). Reviewers: EricWF, jroelofs Reviewed By: jroelofs Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8118 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@231864 91177308-0d34-0410-b5e6-96231b3b80d8 Change-Id: I53d095bd26e2f38bc938745c205439b1ae715de1
/external/libcxx/test/libcxx/test/format.py
|
5cb52824fc2a0caf233311e91d9a2a53368f04ad |
|
04-Mar-2015 |
Dan Albert <danalbert@google.com> |
Merge to upstream r231255. Change-Id: Ia8ee1801b42943464b99f28b6a83647458f3efb5
/external/libcxx/test/libcxx/test/format.py
|
036dcf6304186ba716ec2dc27b2e1866dca10204 |
|
09-Jan-2015 |
Dan Albert <danalbert@google.com> |
[libc++] Refactor test components into modules. Summary: I've moved the bulk of `lit.cfg` into `test/libcxx/testconfig.py` and `test/libcxx/testformat.py`. All that remains in `lit.cfg` is the logic to discover lit.site.cfg if lit.cfg was run directly, and the logic for loading configuration variants. The configuration variant flow has changed with this patch. Rather than instantiating an object of type `<VARIANT>Configuration`, we now instatiate an object of type `Configuration` that was loaded from the module `<VARIANT>.testconfig.py`. This has to be done on a per-project basis rather than in LIT itself because LIT doesn't actually know where the real test directory is, only where the site configuration is (which is usually in the output directory). It's simple enough to do though, so it's fine to require each project to do it themselves. I also cleaned up all the pylint issues while I was here, which was mostly just a matter of fixing long lines. Reviewers: mclow.lists, jroelofs, EricWF Reviewed By: EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6881 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@225532 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit aa66357f48bc35dedd68832abf0af72548c82e6a) Change-Id: I07dafbe1085d9decd42f6aa28889dde1f5aaaa85
/external/libcxx/test/libcxx/test/format.py
|