Skip to content

Commit 8026fee

Browse files
avanhattAlexa VanHattum
authored andcommitted
Update CBMC version check to 5.30.0 (fix #164) #166
Co-authored-by: Alexa VanHattum <avanhatt@amazon.com> Update version check and print expected version in warning message.
1 parent 2adeb7f commit 8026fee

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/check-cbmc-version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def main():
4747

4848
if desired_version > current_version:
4949
version_string = '.'.join([str(num) for num in current_version])
50-
print(f'WARNING: CBMC version is {version_string}')
50+
desired_version_string = '.'.join([str(num) for num in desired_version])
51+
print(f'WARNING: CBMC version is {version_string}, expected at least {desired_version_string}')
5152
sys.exit(EXIT_CODE_MISMATCH)
5253

5354
if __name__ == "__main__":

scripts/rmc-regression.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export PATH=$SCRIPT_DIR:$PATH
1515
EXTRA_X_PY_BUILD_ARGS="${EXTRA_X_PY_BUILD_ARGS:-}"
1616

1717
# Required dependencies
18-
check-cbmc-version.py --major 5 --minor 18
18+
check-cbmc-version.py --major 5 --minor 30
1919

2020
# Formatting check
2121
./x.py fmt --check

0 commit comments

Comments
 (0)