Add signExtend to ConstantRange, to complement zeroExtend and truncate.
[oota-llvm.git] / test / TestRunner.sh
index e595527b8b3ac0141db80d03b55ab87662372a42..e84f56bd00c0167297717064240fa99be8956d3b 100755 (executable)
@@ -8,12 +8,16 @@
 #
 #     %s - Replaced with the input name of the program, or the program to
 #          execute, as appropriate.
+#     %llvmgcc - llvm-gcc command
+#     %llvmgxx - llvm-g++ command
+#     %prcontext - prcontext.tcl script
 #
 
 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