blob: ba1f59d60a0c9ed4e0198accac9f352310f544ca [file] [log] [blame]
#!/bin/bash -e
#
# Copyright (c) 2019, 2021 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Distribution License v. 1.0, which is available at
# http://www.eclipse.org/org/documents/edl-v10.php.
#
# SPDX-License-Identifier: BSD-3-Clause
#
# Arguments:
# N/A
echo '-[ EclipseLink Tests LRG ]-----------------------------------------------------------'
if [ ${CONTINUOUS_BUILD} = "true" ]; then
echo '-[ EclipseLink SRG Tests ]-----------------------------------------------------------'
mvn -B -V verify
else
echo '-[ EclipseLink LRG Tests ]-----------------------------------------------------------'
/opt/bin/mysql-start.sh
mvn -B -V verify -Pmysql,test-lrg
/opt/bin/mysql-stop.sh
fi