mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 14:19:56 +00:00
6945460: [TESTBUG] runtime/6929067/Test6929067.sh
Change link order for the test Reviewed-by: coleenp, mgerdin
This commit is contained in:
parent
3154f17907
commit
3529de993d
@ -1,15 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
##
|
||||
## @ignore 8028740
|
||||
## @test Test6929067.sh
|
||||
## @bug 6929067
|
||||
## @bug 8021296
|
||||
## @summary Stack guard pages should be removed when thread is detached
|
||||
## @compile T.java
|
||||
## @run shell Test6929067.sh
|
||||
##
|
||||
set -x
|
||||
|
||||
if [ "${TESTSRC}" = "" ]
|
||||
then
|
||||
TESTSRC=${PWD}
|
||||
@ -114,10 +112,8 @@ fi
|
||||
LD_LIBRARY_PATH=.:${COMPILEJAVA}/jre/lib/${ARCH}/${VMTYPE}:/usr/lib:$LD_LIBRARY_PATH
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
cp ${TESTSRC}${FS}invoke.c .
|
||||
|
||||
# Copy the result of our @compile action:
|
||||
cp ${TESTCLASSES}${FS}T.class .
|
||||
cp ${TESTSRC}${FS}*.java ${THIS_DIR}
|
||||
${TESTJAVA}${FS}bin${FS}javac *.java
|
||||
|
||||
echo "Architecture: ${ARCH}"
|
||||
echo "Compilation flag: ${COMP_FLAG}"
|
||||
@ -127,9 +123,9 @@ echo "VM type: ${VMTYPE}"
|
||||
# for /usr/lib/`uname -m`-linux-gnu version ensure to add that path to below compilation.
|
||||
|
||||
$gcc_cmd -DLINUX ${COMP_FLAG} -o invoke \
|
||||
-I${COMPILEJAVA}/include -I${COMPILEJAVA}/include/linux \
|
||||
-L${COMPILEJAVA}/jre/lib/${ARCH}/${VMTYPE} \
|
||||
-ljvm -lpthread invoke.c
|
||||
-I${TESTJAVA}/include -I${TESTJAVA}/include/linux \
|
||||
-L${TESTJAVA}/jre/lib/${ARCH}/${VMTYPE} \
|
||||
${TESTSRC}${FS}invoke.c -ljvm -lpthread
|
||||
|
||||
./invoke
|
||||
exit $?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user