< prev index next >

test/hotspot/jtreg/compiler/graalunit/generateTests.sh

Print this page

        

*** 1,8 **** #!/bin/bash # ! # Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. --- 1,8 ---- #!/bin/bash # ! # Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 20,45 **** # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # ! while read -r fName pName timeoutInfo requireInfo do fName="${fName}Test.java" echo "Generate $fName for $pName ..." - action="main" - if [[ $timeoutInfo == timeout* ]] ; then - action="$action/$timeoutInfo" - else - requireInfo="$timeoutInfo $requireInfo" - fi - - cat << EOF | sed 's/[[:blank:]]*$//' > $fName /* ! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 20,37 ---- # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # ! while read -r fName pName requireInfo do fName="${fName}Test.java" echo "Generate $fName for $pName ..." cat << EOF | sed 's/[[:blank:]]*$//' > $fName /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 70,82 **** * * @build compiler.graalunit.common.GraalUnitTestLauncher * * @run driver jdk.test.lib.FileInstaller ../../ProblemList-graal.txt ExcludeList.txt * ! * @run $action compiler.graalunit.common.GraalUnitTestLauncher -prefix $pName -exclude ExcludeList.txt */ - - /* DO NOT MODIFY THIS FILE. GENERATED BY generateTests.sh */ EOF done < TestPackages.txt --- 62,72 ---- * * @build compiler.graalunit.common.GraalUnitTestLauncher * * @run driver jdk.test.lib.FileInstaller ../../ProblemList-graal.txt ExcludeList.txt * ! * @run main/othervm compiler.graalunit.common.GraalUnitTestLauncher -prefix $pName -exclude ExcludeList.txt */ EOF done < TestPackages.txt
< prev index next >