aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/release/relnotes_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/release/relnotes_test.sh')
-rwxr-xr-xscripts/release/relnotes_test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/release/relnotes_test.sh b/scripts/release/relnotes_test.sh
index 66adf700e5..22fbb1382a 100755
--- a/scripts/release/relnotes_test.sh
+++ b/scripts/release/relnotes_test.sh
@@ -251,4 +251,17 @@ a9c46e5907be66248b6218ae70e0a1d999c696d5
assert_equals "${expected}" "${actual}"
}
+function test_nonone_relnotes() {
+ git checkout -q 2ea4fa26281175c316651ec50784b820a9f409cf
+ local expected='Incompatible changes:
+
+ - --javabase=<absolute path> and --host_javabase=<absolute path>
+ are not supported anymore. If you need this functionality
+ java_runtime_suite(name="suite", default=":runtime")
+ java_runtime(name="runtime", java_home=<path to the JDK>) is an
+ alternative.'
+ local actual="$(release_notes 7c605cf6ea9755a06e5abb16a631faac8ebe2937)"
+ assert_equals "${expected}" "${actual}"
+}
+
run_suite "Release notes generation tests"