Skip to content

Commit 4fa6be9

Browse files
committed
moving run-folder-as-test to be a module instead of hardcoded clone
1 parent 898eb47 commit 4fa6be9

3 files changed

Lines changed: 5 additions & 7 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "RFaT"]
2+
path = RFaT
3+
url = https://github.com/rh-openjdk/run-folder-as-tests.git

RFaT

Submodule RFaT added at 80b2151

testHeadlessComponents.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,7 @@ PASSED=0
7979
IGNORED=0
8080
BODY=""
8181

82-
if [ "x$RFaT" == "x" ]; then
83-
readonly RFaT=`mktemp -d`
84-
git clone https://github.com/rh-openjdk/run-folder-as-tests.git ${RFaT} 1>&2
85-
ls -l ${RFaT} 1>&2
86-
fi
87-
88-
source ${RFaT}/jtreg-shell-xml.sh
82+
source RFaT/jtreg-shell-xml.sh
8983

9084
if [[ -z "${WORKSPACE}" ]]; then
9185
WORKSPACE=~/workspace

0 commit comments

Comments
 (0)