blob: 816c80a16d09a9341858e2a295d0d1a82f98db91 [file] [log] [blame]
#!/bin/bash -e
# RS Invocation script to FileCheck
# Usage: rs-filecheck-wrapper.sh <output-directory> <path-to-FileCheck> <source>
OUTDIR=$1
FILECHECK=$2
SOURCEFILE=$3
FILECHECK_INPUTFILE=`basename $SOURCEFILE | sed 's/\.rs\$/.ll/'`
$FILECHECK -input-file $OUTDIR/$FILECHECK_INPUTFILE $SOURCEFILE