Files
hibernate-demo/h8-preview/scripts/run-all.sh
T

17 lines
833 B
Bash
Executable File

#!/usr/bin/env bash
# Regenerates every file under output/. Needs JDK 25, Maven 3.9 and network access to Maven Central.
# ./scripts/run-all.sh
# 01-03: the plain-Hibernate tests on 8.0.0.Beta3, then on 7.4.5.Final (mvn clean between, or stale classes link wrongly)
# 04-07: javac / javap / POM facts. suite-*.txt: the whole ../src suite in a scratch copy, four ways (slow, ~10 minutes).
set -euo pipefail
cd "$(dirname "$0")/.."
mvn -B clean test
mvn -B clean test -Dhibernate.version=7.4.5.Final -Dpersistence.version=3.2.0 -Dh.label=h7
./scripts/capture-compile-errors.sh
./scripts/capture-facts.sh
./scripts/run-suite.sh h7
./scripts/run-suite.sh h8-unpinned 8.0.0.Beta3 4.0.0-M7 no
./scripts/run-suite.sh h8-pinned 8.0.0.Beta3 4.0.0-M7 yes
./scripts/run-suite.sh h8-boot42 8.0.0.Beta3 4.0.0-M7 yes 4.2.0-M2
ls -1 output