OSDN Git Service

[LIT] Add support for `UNSUPPORTED` tag to `TestRunner.parseIntegratedTestScript`
authorEric Fiselier <eric@efcs.ca>
Wed, 10 Dec 2014 03:42:09 +0000 (03:42 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 10 Dec 2014 03:42:09 +0000 (03:42 +0000)
commitbd112609813171fad2eeb4ad5f7a9cd95fc78b2e
treefc515b5746149cd72e294204bebba333ac19e59f
parentfda17198fd28ddbe0f5488fc2479213865298945
[LIT] Add support for `UNSUPPORTED` tag to `TestRunner.parseIntegratedTestScript`

Summary:
This patch gives me just enough to leverage the existing functionality in `TestRunner` for use in `libc++` and `libc++abi` .

It does the following:
* Adds the `UNSUPPORTED` tag to `TestRunner.parseIntegratedTestScript`.
* Allows `parseIntegratedTestScript` to return an empty script if a script is not required by the caller.

Reviewers: ddunbar, EricWF

Reviewed By: EricWF

Subscribers: cfe-commits, llvm-commits

Differential Revision: http://reviews.llvm.org/D6589

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223915 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/TestRunner.py
utils/lit/lit/util.py