Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions scripts/tests
Original file line number Diff line number Diff line change
Expand Up @@ -1049,12 +1049,14 @@ class Tests:
self.check_fail()

def hol_light(self):
if platform.machine().lower() in ["arm64", "aarch64"]:
machine = platform.machine().lower()
if machine in ["arm64", "aarch64"]:
arch = "aarch64"
elif platform.machine().lower() in ["x86_64"]:
elif machine in ["x86_64"]:
arch = "x86_64"
else:
return
self.fail(f"HOL-Light unsupported architecture: {machine}")
self.check_fail()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-existing: Looking at the script, it seems that we almost always call check_fail at the end of each individual test. Why don't we just call check_fail() once at the very end of main?


def list_proofs(arch):
cmd_str = ["./proofs/hol_light/" + arch + "/list_proofs.sh"]
Expand Down
Loading