Just a minor tweak so you can run things like:
TestRunner.sh Foo/Bar/test.ll instead of just TestRunner.sh test.ll which is convenient in conjunction with find. llvm-svn: 28852
This commit is contained in:
parent
0c9be0a2be
commit
0b2652027b
|
@ -13,7 +13,8 @@
|
|||
FILENAME=$1
|
||||
TESTNAME=$1
|
||||
SUBST=$1
|
||||
OUTPUT=Output/$FILENAME.out
|
||||
FILENAME_ONLY=`basename $1`
|
||||
OUTPUT=Output/$FILENAME_ONLY.out
|
||||
|
||||
# create the output directory if it does not already exist
|
||||
mkdir Output > /dev/null 2>&1
|
||||
|
|
Loading…
Reference in New Issue