Whamcloud - gitweb
LU-11388 test: disable replay-single test_131b
[fs/lustre-release.git] / lustre / tests / compile.sh
1 #!/bin/sh
2 set -evx
3
4 MOUNT=${MOUNT:-/mnt/lustre}
5 DIR=${DIR:-$MOUNT}
6 SRC=${SRC:-`dirname $0`/../..}
7 export CC=${CC:-gcc}
8 while date; do
9         for i in lustre; do
10                 TGT=$DIR/$i
11                 [ -d $TGT ] || cp -av $SRC/$i/ $TGT
12                 make -C $TGT clean
13                 make -C $TGT -j2
14                 make -C $TGT clean
15         done
16 done