diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:22:35 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-05 22:22:35 +0000 |
commit | 7b332d9ada3e2806a4d765000527f739f167791f (patch) | |
tree | 5b45f3cdaa38d6acd0f9126dad62fa1479af7eaa /test/TestRunner.sh | |
parent | 9eec4ed6ca0dcf098580da9146b97e0841556d12 (diff) |
Make use of the Index library through the index-test tool.
'index-test' is now able to provide additional info for a Decl, through multiple AST files:
-Find declarations
-Find definitions
-Find references
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TestRunner.sh')
-rwxr-xr-x | test/TestRunner.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TestRunner.sh b/test/TestRunner.sh index bb20728578..07451eb485 100755 --- a/test/TestRunner.sh +++ b/test/TestRunner.sh @@ -11,6 +11,7 @@ # %S - Replaced with the directory where the input file resides # %prcontext - prcontext.tcl script # %t - temporary file name (derived from testcase name) +# %T - directory of temporary file name # FILENAME=$1 @@ -19,6 +20,7 @@ SUBST=$1 FILEDIR=`dirname $TESTNAME` OUTPUT=Output/$1.out +OUTPUTDIR=`dirname $OUTPUT` # create the output directory if it does not already exist mkdir -p `dirname $OUTPUT` > /dev/null 2>&1 @@ -86,6 +88,7 @@ grep 'RUN:' $FILENAME | \ -e "s|%s|$SUBST|g" \ -e "s|%S|$FILEDIR|g" \ -e "s|%prcontext|prcontext.tcl|g" \ + -e "s|%T|$OUTPUTDIR|g" \ -e "s|%t|$TEMPOUTPUT|g" > $SCRIPT IS_XFAIL=0 |