Skip to content

Commit

Permalink
[Misc] fix testcase bug Test8233197.sh
Browse files Browse the repository at this point in the history
Summary: fix testcase bug hotspot/test/runtime/8233197/Test8233197.sh, which gcc not support -m64 option on linux-aarch64 platform

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

Issue: #373
  • Loading branch information
sendaoYan committed Jul 29, 2022
1 parent edb6b4b commit 4a0d8bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hotspot/test/runtime/8233197/Test8233197.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ case "$ARCH" in
ARCH=arm
else
ARCH=aarch64
unset COMP_FLAG
fi
;;
i586)
Expand Down Expand Up @@ -150,4 +151,5 @@ $gcc_cmd -DLINUX ${COMP_FLAG} -Wl, -g -fno-strict-aliasing -fPIC -fno-omit-frame
$gcc_cmd -shared -o libJvmtiAgent.so libJvmtiAgent.o

"$TESTJAVA/bin/java" $TESTVMOPTS -agentlib:JvmtiAgent -cp $(pwd) T > T.out
exit $?
exit $?

0 comments on commit 4a0d8bb

Please sign in to comment.