summaryrefslogtreecommitdiff
path: root/integration/conformance-test/supplement/conformance-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'integration/conformance-test/supplement/conformance-test.sh')
-rwxr-xr-xintegration/conformance-test/supplement/conformance-test.sh25
1 files changed, 21 insertions, 4 deletions
diff --git a/integration/conformance-test/supplement/conformance-test.sh b/integration/conformance-test/supplement/conformance-test.sh
index 8e06b37..32f1a0f 100755
--- a/integration/conformance-test/supplement/conformance-test.sh
+++ b/integration/conformance-test/supplement/conformance-test.sh
@@ -165,7 +165,7 @@ COMMAND=""
output "# create vm"
output "$ Success"
-COMMAND="create -n ${EMULATOR_NAME} -b 1"
+COMMAND="create -n ${EMULATOR_NAME} -p mobile-3.0"
output "@ ${COMMAND}"
${EMULATOR_MANAGER} ${COMMAND} | tee -a ${RESULT_FILE}
output ""
@@ -186,7 +186,7 @@ output ""
output "# create custom vm"
output "$ Success"
-COMMAND="create -n ${EMULATOR_NAME}2 -p ${CUSTOM_PATH}/emulimg-${EMULATOR_NAME}.x86"
+COMMAND="create -n ${EMULATOR_NAME}2 -c ${CUSTOM_PATH}/emulimg-${EMULATOR_NAME}.x86"
output "@ ${COMMAND}"
${EMULATOR_MANAGER} ${COMMAND} | tee -a ${RESULT_FILE}
output ""
@@ -206,13 +206,30 @@ output ""
output "# modify vm - ram size"
output "$ Success"
-COMMAND="modify -n ${EMULATOR_NAME} --ram-size 512"
+
+case "${UNAME}" in
+ Linux | Darwin)
+ COMMAND="modify -n ${EMULATOR_NAME} --ram-size 768"
+ ;;
+ MINGW*)
+ COMMAND="modify -n ${EMULATOR_NAME} --ram-size 512"
+ ;;
+esac
+
output "@ ${COMMAND}"
${EMULATOR_MANAGER} ${COMMAND} | tee -a ${RESULT_FILE}
output ""
output "# check ram size"
-output "$ 512"
+case "${UNAME}" in
+ Linux | Darwin)
+ output "$ 768"
+ ;;
+ MINGW*)
+ output "$ 512"
+ ;;
+esac
+
COMMAND="detail -n ${EMULATOR_NAME}"
output "@ ${COMMAND}"
${EMULATOR_MANAGER} ${COMMAND} | tee -a ${RESULT_FILE}