mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-15 16:15:08 -05:00
Add CBMC viewer configuration files (#683)
* Revert cbmc-viewer flags * Add cbmc-viewer configuration files * Repair CBMC patch to prvCopyDataToQueue Authored-by: Mark R. Tuttle <mrtuttle@amazon.com>
This commit is contained in:
parent
fe6e501488
commit
0390b0fc9b
41 changed files with 1084 additions and 14 deletions
|
|
@ -129,10 +129,15 @@ def process(folder, files):
|
|||
pathlib.Path(new_config_folder).mkdir(exist_ok=True, parents=True)
|
||||
harness_copied = False
|
||||
for file in files:
|
||||
# Copy cbmc proof harness into configuration directory
|
||||
if file.endswith("harness.c"):
|
||||
shutil.copy(os.path.join(folder, file),
|
||||
os.path.join(new_config_folder, file))
|
||||
harness_copied = True
|
||||
# Copy cbmc-viewer configuration file into configuration directory
|
||||
if file == "cbmc-viewer.json":
|
||||
shutil.copy(os.path.join(folder, file),
|
||||
os.path.join(new_config_folder, file))
|
||||
|
||||
if not harness_copied:
|
||||
LOGGER.error("Could not find a harness in folder %s.", folder)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue