2020-11-19 09:50:16 -05:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
goal=
|
|
|
|
if [ "$RDBMS" == "derby" ]; then
|
|
|
|
goal="-Pdb=derby"
|
|
|
|
elif [ "$RDBMS" == "mariadb" ]; then
|
2021-02-03 04:55:07 -05:00
|
|
|
goal="-Pdb=mariadb_ci"
|
2020-11-19 09:50:16 -05:00
|
|
|
elif [ "$RDBMS" == "postgresql" ]; then
|
2021-02-03 04:55:07 -05:00
|
|
|
goal="-Pdb=pgsql_ci"
|
2020-11-19 09:50:16 -05:00
|
|
|
elif [ "$RDBMS" == "oracle" ]; then
|
2021-02-03 04:55:07 -05:00
|
|
|
goal="-Pdb=oracle_ci"
|
2020-11-19 09:50:16 -05:00
|
|
|
elif [ "$RDBMS" == "db2" ]; then
|
2021-02-03 04:55:07 -05:00
|
|
|
goal="-Pdb=db2_ci"
|
2020-11-19 09:50:16 -05:00
|
|
|
elif [ "$RDBMS" == "mssql" ]; then
|
2021-02-03 04:55:07 -05:00
|
|
|
goal="-Pdb=mssql_ci"
|
2020-11-19 09:50:16 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
exec ./gradlew check ${goal} -Plog-test-progress=true --stacktrace
|