Skip to content

Commit

Permalink
Updating rtl hash tool to exclude more test files (#1486)
Browse files Browse the repository at this point in the history
  • Loading branch information
nquarton authored Apr 29, 2024
1 parent 84f01dd commit f980c23
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion ci-tools/release/tools/generate_rtl_file_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,18 @@ while read line; do
file_list=$(echo "$file_list" | grep -v $line)
done < <(echo "$exclude_list")

# Remove all UVMF files (these are only for testing and may be removed during integration)
# Filter out files exclusive to testing
# Remove all UVMF files
echo "Filtering out uvmf files"
file_list=$(echo "$file_list" | grep -v -i "uvmf")

# Remove test bench files
echo "Filtering out tb directories"
file_list=$(echo "$file_list" | grep -v -i "/tb/")

# Remove asserts
echo "Filtering out asserts directories"
file_list=$(echo "$file_list" | grep -v -i "/asserts/")

# Save file
echo "$file_list" > "$output_file_name"

0 comments on commit f980c23

Please sign in to comment.