Skip to content

Commit

Permalink
Copy CBMC output directory to CI location
Browse files Browse the repository at this point in the history
This commit ensures that the output directory for CBMC proofs is in the
correct location expected by the FreeRTOS CI-CD repository.
  • Loading branch information
karkhaz committed Mar 8, 2023
1 parent bc30def commit 1544873
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/cbmc/proofs/run-cbmc-proofs.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,13 @@ def main():
if not args.no_standalone:
run_build(args.parallel_jobs)

out_sym = pathlib.Path("/tmp")/"litani"/"runs"/"latest"
out_dir = out_sym.resolve()

local_copy = pathlib.Path("output")/"latest"
local_copy.parent.mkdir(exist_ok=True)
local_copy.symlink_to(out_dir)


if __name__ == "__main__":
main()

0 comments on commit 1544873

Please sign in to comment.