Skip to content

Commit

Permalink
32bits images should use the default vm
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Feb 11, 2021
1 parent aa805f1 commit 0d8059a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion bootstrap/scripts/runKernelTests.sh
Expand Up @@ -22,7 +22,14 @@ TEST_NAME_PREFIX=$(find ${CACHE} -name "Pharo*.zip" | head -n 1 | cut -d'/' -f 2
#TEST_VM_VERSION=$(echo "${TEST_NAME_PREFIX}" | cut -d'-' -f 1| cut -c 6- | cut -d'.' -f 1-2 | sed 's/\.//')
TEST_VM_VERSION="90"

${BOOTSTRAP_REPOSITORY:-.}/bootstrap/scripts/getPharoVM.sh ${TEST_VM_VERSION} vmHeadlessLatest ${1}
if [ "${1}" -eq "32" ]
then
TEST_VM_KIND="vm"
else
TEST_VM_KIND="vmHeadlessLatest"
fi

${BOOTSTRAP_REPOSITORY:-.}/bootstrap/scripts/getPharoVM.sh ${TEST_VM_VERSION} ${TEST_VM_KIND} ${1}

IMAGE_ARCHIVE=$(find ${CACHE} -name ${TEST_NAME_PREFIX}-bootstrap-${1}bit-*.zip)
unzip $IMAGE_ARCHIVE
Expand Down
7 changes: 7 additions & 0 deletions bootstrap/scripts/runTests.sh
Expand Up @@ -22,6 +22,13 @@ TEST_NAME_PREFIX=$(find ${CACHE} -name "Pharo*.zip" | head -n 1 | cut -d'/' -f 2
#TEST_VM_VERSION=$(echo "${TEST_NAME_PREFIX}" | cut -d'-' -f 1| cut -c 6- | cut -d'.' -f 1-2 | sed 's/\.//')
TEST_VM_VERSION="90"

if [ "${1}" -eq "32" ]
then
TEST_VM_KIND="vm"
else
TEST_VM_KIND="vmHeadlessLatest"
fi

${BOOTSTRAP_REPOSITORY:-.}/bootstrap/scripts/getPharoVM.sh ${TEST_VM_VERSION} vmHeadlessLatest ${1}

IMAGE_ARCHIVE=$(find ${CACHE} -name ${TEST_NAME_PREFIX}-${1}bit-*.zip)
Expand Down

0 comments on commit 0d8059a

Please sign in to comment.