|
| 1 | +#/bin/bash |
| 2 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 3 | +# you may not use this file except in compliance with the License. |
| 4 | +# You may obtain a copy of the License at |
| 5 | +# |
| 6 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 7 | +# |
| 8 | +# Unless required by applicable law or agreed to in writing, software |
| 9 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 10 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 11 | +# See the License for the specific language governing permissions and |
| 12 | +# limitations under the License. |
| 13 | +# |
| 14 | + |
| 15 | +source $(dirname "$0")/test_base_functions.sh |
| 16 | +# Set up Java to be used by the functional test |
| 17 | +echo_setup |
| 18 | + |
| 19 | +echo "export GLIBC_TUNABLES=glibc.pthread.rseq=0:glibc.cpu.hwcaps=-XSAVEC,-XSAVE,-AVX2,-ERMS,-AVX,-AVX_Fast_Unaligned_Load"; |
| 20 | +export GLIBC_TUNABLES=glibc.pthread.rseq=0:glibc.cpu.hwcaps=-XSAVEC,-XSAVE,-AVX2,-ERMS,-AVX,-AVX_Fast_Unaligned_Load |
| 21 | +echo "export LD_BIND_NOT=on"; |
| 22 | +export LD_BIND_NOT=on |
| 23 | + |
| 24 | +export TEST_JDK_HOME=$JAVA_HOME |
| 25 | +echo "TEST_JDK_HOME is : $TEST_JDK_HOME" |
| 26 | +export JDK_VERSION= |
| 27 | +echo "TEST_JDK_HOME has been unset, use auto-detect instead." |
| 28 | +export DYNAMIC_COMPILE=true |
| 29 | +export BUILD_LIST=functional |
| 30 | + |
| 31 | +cd /aqa-tests |
| 32 | +./get.sh |
| 33 | +cd /aqa-tests/TKG |
| 34 | + |
| 35 | +set -e |
| 36 | +echo "Generating make files and running the target tests" |
| 37 | +make $1 |
| 38 | +set +e |
0 commit comments