diff test/runtime/6929067/Test6929067.sh @ 14909:4ca6dc0799b6

Backout jdk9 merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Tue, 01 Apr 2014 13:57:07 +0200
parents 5e7eb4244604
children
line wrap: on
line diff
--- a/test/runtime/6929067/Test6929067.sh	Tue Apr 01 14:09:03 2014 +0200
+++ b/test/runtime/6929067/Test6929067.sh	Tue Apr 01 13:57:07 2014 +0200
@@ -1,14 +1,15 @@
 #!/bin/sh
 
 ##
+## @ignore 8028740
 ## @test Test6929067.sh
 ## @bug 6929067
 ## @bug 8021296
-## @bug 8025519
 ## @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}
@@ -113,8 +114,10 @@
 LD_LIBRARY_PATH=.:${COMPILEJAVA}/jre/lib/${ARCH}/${VMTYPE}:/usr/lib:$LD_LIBRARY_PATH
 export LD_LIBRARY_PATH
 
-cp ${TESTSRC}${FS}*.java ${THIS_DIR}
-${COMPILEJAVA}${FS}bin${FS}javac *.java
+cp ${TESTSRC}${FS}invoke.c .
+
+# Copy the result of our @compile action:
+cp ${TESTCLASSES}${FS}T.class .
 
 echo "Architecture: ${ARCH}"
 echo "Compilation flag: ${COMP_FLAG}"
@@ -126,7 +129,7 @@
 $gcc_cmd -DLINUX ${COMP_FLAG} -o invoke \
     -I${COMPILEJAVA}/include -I${COMPILEJAVA}/include/linux \
     -L${COMPILEJAVA}/jre/lib/${ARCH}/${VMTYPE} \
-     ${TESTSRC}${FS}invoke.c -ljvm -lpthread
+    -ljvm -lpthread invoke.c
 
 ./invoke
 exit $?