corda/sgx-jvm/tools/jvm-diff/compare-versions.sh
2017-11-10 08:49:36 +00:00

24 lines
715 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
BASE_VERSION="jdk-8.0.0.jar"
NEW_VERSION="jdk-8.0.0-deterministic.jar"
# Derive list of differences between the two JARs
pkgdiff -check-byte-code -track-unchanged -extra-info pkgdiff_extra \
"$BASE_VERSION" "$NEW_VERSION"
# Find packages and classes marked for exclusion in JavaDoc
${SHELL} tools/find-exclusions.sh
# Generate report
sed -n '1,/\/\* DATASET \*\//p' < ./tools/report-template.html > report.html
${SHELL} tools/generate-report.sh >> report.html
sed -n '/\/\* DATASET \*\//,$p' < ./tools/report-template.html >> report.html
# Generate structure for upload to Azure
mkdir -p report
mv exclusions pkgdiff_extra pkgdiff_reports report/
cd report
${SHELL} ../tools/flatten.sh
cd ..