[ Matthias Klose ] * debian/tests/control: Depend on g++ instead of build-essential or libc6-dev. * Bump standards vesion. [ Tiago Stürmer Daitx ] * Improve and fix build tests and autopkgtests: - Update debian/tests/hotspot,jdk,langtools to ignore jtreg-autopkgtest.sh return code. - Create debian/tests/jtdiff-autopkgtest.in as it depends on debian/rules variables. - debian/control.in, debian/control: add default-jre-headless to Build-Depends with a nocheck clause as jtreg requires a JRE in /usr/lib/jvm/default-java. - debian/tests/control: + Add zip and unzip test dependencies required by jdk's test/sun/security/tools/jarsigner/diffend.sh and test/sun/security/tools/jarsigner/emptymanifest.sh. + Depend on default-jre-headless so jtreg will use the JRE from /usr/lib/jvm/default-java. - debian/tests/jtdiff-autopkgtest.sh: + Fail only if an actual regression is detected. + Add the super-diff comparison from jtdiff. + Save failed jtr files for all runs. - debian/tests/jtreg-autopkgtest.sh: + Enable retry of failed tests to trim out flaky tests. + Fix unbound variable. + Keep .jtr files from failed tests only. - debian/patches/jdk-problem-list.diff: ignore failing tests that require more investigation. - debian/rules: + Preserve all JTreport directories in the test output directory. + Use JDK_DIR instead of JDK_TO_TEST for autopkgtest generation. + Package all .jtr files from JTwork as jtreg-autopkgtest.sh makes sure it contains only failed tests. * debian/tests/jdk: add our custom debian/tests/jdk-problem-list.txt to the exclusion list. * debian/tests/jdk-problem-list.txt: custom exclusion rules for jdk tests that fail to run during a build or autopkgtest run. * debian/rules: remove debian/patches/jdk-problem-list.diff. * debian/patches/jdk-problem-list.diff: jtreg allows for extra exclusion files thus there's no need to patch upstream's exclusion list. * debian/tests/control: mark all autopkgtests as flaky. * debian/tests/hotspot-archs: generated by debian/rules, contains a list of archs that supports a hotspot vm. * debian/tests/jdk: run only when the host arch is a hotspot vm - allow override through an environment variable. * debian/rules: update gen-autopkgtests to echo supported hotspot archs.