Skip to content

Commit

Permalink
Redirect z3 stdout to /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasAlaif committed Dec 16, 2023
1 parent 6c87c22 commit 1aee50c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/z3_trace_log_gen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Z3 Trace Log Generator
name: Z3 Trace Log Generator

on:
push:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
# Get the filename without extension
base_name=$(basename "${file%.*}")
# Run Z3 solver for the file and save the log in the 'logs' directory
z3 trace=true proof=true trace-file-name=logs/${base_name}.log ./$file
z3 trace=true proof=true trace-file-name=logs/${base_name}.log ./$file > /dev/null
done
# Loop through all files and check that log exists
for file in smt-problems/**/*.smt2; do
Expand All @@ -82,7 +82,7 @@ jobs:
echo "Processing uncached $file"
# Run Z3 solver for the file and save the log in the 'logs' directory
z3 trace=true proof=true trace-file-name=logs/${base_name}.log ./$file
z3 trace=true proof=true trace-file-name=logs/${base_name}.log ./$file > /dev/null
done
# Compress the 'logs' directory using bzip2
Expand Down

0 comments on commit 1aee50c

Please sign in to comment.