From 5641111e3fedf70e032e096d5aa40e6734e9cecf Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 5 Jul 2009 22:22:35 +0000 Subject: 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 llvm-svn: 74803 --- clang/test/TestRunner.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang/test/TestRunner.sh') diff --git a/clang/test/TestRunner.sh b/clang/test/TestRunner.sh index bb20728578c..07451eb4859 100755 --- a/clang/test/TestRunner.sh +++ b/clang/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 -- cgit v1.2.3