12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26
27 # @test
28 # @bug 6173575 6388987
29 # @summary Unit tests for appendToBootstrapClassLoaderSearch and
30 # appendToSystemClasLoaderSearch methods.
31 #
32 # @modules java.instrument
33 # @build Agent AgentSupport BootSupport BasicTest PrematureLoadTest DynamicTest
34 # @run shell/timeout=240 run_tests.sh
35
36 if [ "${TESTSRC}" = "" ]
37 then
38 echo "TESTSRC not set. Test cannot execute. Failed."
39 exit 1
40 fi
41
42 . ${TESTSRC}/CommonSetup.sh
43
44
45 # Simple tests
46
47 echo "Creating jar files for simple tests..."
48
49 cd ${TESTCLASSES}
50
51 "$JAR" ${TESTTOOLVMOPTS} -cfm Agent.jar "${TESTSRC}"/manifest.mf Agent.class
52 "$JAR" ${TESTTOOLVMOPTS} -cf AgentSupport.jar AgentSupport.class
|
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26
27 # @test
28 # @bug 6173575 6388987
29 # @summary Unit tests for appendToBootstrapClassLoaderSearch and
30 # appendToSystemClasLoaderSearch methods.
31 #
32 # @build Agent AgentSupport BootSupport BasicTest PrematureLoadTest DynamicTest
33 # @run shell/timeout=240 run_tests.sh
34
35 if [ "${TESTSRC}" = "" ]
36 then
37 echo "TESTSRC not set. Test cannot execute. Failed."
38 exit 1
39 fi
40
41 . ${TESTSRC}/CommonSetup.sh
42
43
44 # Simple tests
45
46 echo "Creating jar files for simple tests..."
47
48 cd ${TESTCLASSES}
49
50 "$JAR" ${TESTTOOLVMOPTS} -cfm Agent.jar "${TESTSRC}"/manifest.mf Agent.class
51 "$JAR" ${TESTTOOLVMOPTS} -cf AgentSupport.jar AgentSupport.class
|