summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorHuayu Ouyang <huayu.ouyang@mongodb.com>2022-01-25 20:10:14 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-25 21:00:19 +0000
commitb6dc9c4baa67a0565668fc0f2fc7567e10390725 (patch)
tree439d3959e0fef152893460eda6f328a95295e64f /evergreen
parent526a557b06c4335abd63c15c92a5a78a65587a2c (diff)
downloadmongo-b6dc9c4baa67a0565668fc0f2fc7567e10390725.tar.gz
SERVER-62621 IDL compatibility checker should check brand new commands
Diffstat (limited to 'evergreen')
-rwxr-xr-xevergreen/check_idl_compat.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/evergreen/check_idl_compat.sh b/evergreen/check_idl_compat.sh
index 9868c9d700b..4498641cd89 100755
--- a/evergreen/check_idl_compat.sh
+++ b/evergreen/check_idl_compat.sh
@@ -13,3 +13,9 @@ find idls -maxdepth 1 -mindepth 1 -type d | while read dir; do
echo "Performing idl check compatibility with release: $dir:"
$python buildscripts/idl/idl_check_compatibility.py -v --old-include "$dir/src" --old-include "$dir/src/mongo/db/modules/enterprise/src" --new-include src --new-include src/mongo/db/modules/enterprise/src "$dir/src" src
done
+
+# Run the idl compatibility checker script with the current src directory as both the "old" and
+# "new" versions. This is so that we can check that commands that were newly added since the last
+# release adhere to compatibility requirements.
+echo "Performing idl check compatibility for newly added commands since the last release:"
+$python buildscripts/idl/idl_check_compatibility.py -v --old-include src --old-include src/mongo/db/modules/enterprise/src --new-include src --new-include src/mongo/db/modules/enterprise/src src src