File tree 10 files changed +19
-10
lines changed
10 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 1
- DIR=../..
1
+ DIR=$SCRIPT_DIR / ../..
2
2
# ABSOLUTE_DIR=`realpath $DIR`
3
3
ABSOLUTE_DIR=` readlink -e $DIR `
4
4
# might need to use -Dos.arch=ppc64le on OpenJDK in MAVEN_OPTS and JAVA_OPTS because of a bug
5
5
export MAVEN_OPTS=" $MAVEN_OPTS -Xmx32G -XX:MaxPermSize=8G -XX:ReservedCodeCacheSize=2G"
6
- MVN_ARGS=" -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Dscala-2.11 -Phive-thriftserver -Phive"
6
+ # MVN_ARGS="-Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Dscala-2.11 -Phive-thriftserver -Phive"
7
+ MVN_ARGS=" -Pyarn -Phadoop-2.4 -Dhadoop.version=2.4.0 -Dscala-2.11"
7
8
export JAVA_OPTS=" -Xms2M -Xmx32G -XX:MaxPermSize=8G -XX:ReservedCodeCacheSize=2G"
8
9
9
10
# export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-ppc64el"
Original file line number Diff line number Diff line change 5
5
# ./compile.sh full - package everything ("normal" compilation)
6
6
# ./compile.sh clean full install - package and install everything ("normal" clean install)
7
7
8
- source args.sh
8
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
9
+ source $SCRIPT_DIR /args.sh
9
10
echo $DIR
10
11
cd $DIR
11
12
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source args.sh
2
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
3
+ source $SCRIPT_DIR /args.sh
3
4
cd $DIR
4
5
5
6
jdb -attach $DBG_PORT
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# should run a test, but doesn't work
3
- source args.sh
3
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
4
+ source $SCRIPT_DIR /args.sh
4
5
cd $DIR
5
6
6
7
SCALA_TESTS=\
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source args.sh
2
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
3
+ source $SCRIPT_DIR /args.sh
3
4
cd $DIR
4
5
5
6
if [[ " $1 " != " " ]]; then
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source args.sh
2
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
3
+ source $SCRIPT_DIR /args.sh
3
4
cd $DIR /core
4
5
trap ' ' 2
5
6
export LD_LIBRARY_PATH=" target/lib:$LD_LIBRARY_PATH "
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source args.sh
2
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
3
+ source $SCRIPT_DIR /args.sh
3
4
cd $DIR
4
5
5
6
$MVN_CMD $MVN_ARGS -DtagsToExclude=$EXCL_TAGS --fail-never test $@ 2>&1 | tee ~ /testlog-all.txt
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- source args.sh
2
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
3
+ source $SCRIPT_DIR /args.sh
3
4
cd $DIR
4
5
5
6
$MVN_CMD $MVN_ARGS -DtagsToExclude=$EXCL_TAGS --fail-at-end test -pl core $@ 2>&1 | tee ~ /testlog-core.txt
Original file line number Diff line number Diff line change 2
2
# run only the tests being worked on
3
3
# ./testdev.sh compile also compiles the stuff before
4
4
# ./testdev.sh debug waits for attachment of a scala debugger
5
- source args.sh
5
+ SCRIPT_DIR=$( cd $( dirname $( readlink -f $0 || echo $0 ) ) ; pwd -P)
6
+ source $SCRIPT_DIR /args.sh
6
7
cd $DIR
7
8
8
9
SCALA_TESTS=\
You can’t perform that action at this time.
0 commit comments