test/script/basic/splitter_prototype.js

Mon, 08 Sep 2014 15:51:27 +0530

author
sundar
date
Mon, 08 Sep 2014 15:51:27 +0530
changeset 992
7caec82669a4
permissions
-rw-r--r--

8057742: ant clean test should not fail if one or more external test suites are missing
Reviewed-by: lagergren, hannesw

sundar@992 1 /*
sundar@992 2 * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
sundar@992 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
sundar@992 4 *
sundar@992 5 * This code is free software; you can redistribute it and/or modify it
sundar@992 6 * under the terms of the GNU General Public License version 2 only, as
sundar@992 7 * published by the Free Software Foundation.
sundar@992 8 *
sundar@992 9 * This code is distributed in the hope that it will be useful, but WITHOUT
sundar@992 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
sundar@992 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
sundar@992 12 * version 2 for more details (a copy is included in the LICENSE file that
sundar@992 13 * accompanied this code).
sundar@992 14 *
sundar@992 15 * You should have received a copy of the GNU General Public License version
sundar@992 16 * 2 along with this work; if not, write to the Free Software Foundation,
sundar@992 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
sundar@992 18 *
sundar@992 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
sundar@992 20 * or visit www.oracle.com if you need additional information or have any
sundar@992 21 * questions.
sundar@992 22 */
sundar@992 23
sundar@992 24 /**
sundar@992 25 * Test various scripts with low splitter threshold
sundar@992 26 *
sundar@992 27 * @test
sundar@992 28 * @option -Dnashorn.compiler.splitter.threshold=200
sundar@992 29 * @runif external.prototype
sundar@992 30 * @fork
sundar@992 31 */
sundar@992 32
sundar@992 33 load(__DIR__ + 'prototype.js');

mercurial