forked from OSchip/llvm-project
14 lines
275 B
Bash
Executable File
14 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
. $(dirname $0)/common.sh
|
|
BUILD=$SCRIPT_DIR/$1/build.sh
|
|
TEST=$SCRIPT_DIR/$1/test.sh
|
|
|
|
[ ! -e $BUILD ] && echo "NO SUCH FILE: $BUILD" && exit 1
|
|
[ ! -e $TEST ] && echo "NO SUCH FILE: $TEST" && exit 1
|
|
|
|
RUNDIR="RUNDIR-$1"
|
|
mkdir -p $RUNDIR
|
|
cd $RUNDIR
|
|
$BUILD && $TEST
|
|
|