Skip to content

Commit 137ab0f

Browse files
committed
Fix test script for mmtk-core
1 parent 49535c2 commit 137ab0f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/scripts/ci-test.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
set -ex
22

3-
cur=$(realpath $(dirname "$0"))
3+
. $(dirname "$0")/common.sh
4+
cur=$BINDING_PATH/.github/scripts
45

56
# This script is only used by MMTk core.
67
# OPENJDK_PATH is the default path set in ci-checkout.sh
7-
OPENJDK_PATH=$BINDING_PATH/repos/openjdk
8+
export OPENJDK_PATH=$BINDING_PATH/repos/openjdk
89
export TEST_JAVA_BIN=$OPENJDK_PATH/jdk/bin/java
910

11+
# Download dacapo
12+
export DACAPO_PATH=$BINDING_PATH/dacapo
13+
mkdir -p $DACAPO_PATH
14+
wget https://downloads.sourceforge.net/project/dacapobench/archive/2006-10-MR2/dacapo-2006-10-MR2.jar -O $DACAPO_PATH/dacapo-2006-10-MR2.jar
15+
1016
# Normal build
1117
$cur/ci-build.sh
1218
# Test

0 commit comments

Comments
 (0)