Skip to content

Commit

Permalink
Added second chance for frontend to succeed; using supported list ins…
Browse files Browse the repository at this point in the history
…tead of unsupported list for smoke-tests
  • Loading branch information
leventeBajczi committed Nov 14, 2023
1 parent 365e5e3 commit 14c5a2d
Show file tree
Hide file tree
Showing 4 changed files with 4,541 additions and 7,465 deletions.
2 changes: 1 addition & 1 deletion .github/actions/benchexec-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
shell: bash
run: |
cd sv-benchmarks/c
for i in $(sed 's/#.*$//g' ${{ inputs.task }}.set); do find . -wholename ./$i; done | while read line; do grep "$line" $GITHUB_ACTION_PATH/unsupported.txt >/dev/null 2>/dev/null || test -z $(yq e '.properties.[] | select(.property_file == "../properties/unreach-call.prp")' $line) >/dev/null 2>/dev/null || echo $(echo $line | sha1sum | awk ' { print $1 } ') $line ; done | sort -k1 | awk ' { $1=""; print $0 } ' | awk '{$1=$1};1' > all-files.txt
for i in $(sed 's/#.*$//g' ${{ inputs.task }}.set); do find . -wholename ./$i; done | while read line; do grep "$line" $GITHUB_ACTION_PATH/supported.txt >/dev/null 2>/dev/null && test -z $(yq e '.properties.[] | select(.property_file == "../properties/unreach-call.prp")' $line) >/dev/null 2>/dev/null || echo $(echo $line | sha1sum | awk ' { print $1 } ') $line ; done | sort -k1 | awk ' { $1=""; print $0 } ' | awk '{$1=$1};1' > all-files.txt
head -n${{ inputs.test_number }} all-files.txt > ${{ inputs.task }}.set
echo "length=$(cat ${{ inputs.task }}.set | wc -l)" >> "$GITHUB_OUTPUT"
cat ${{ inputs.task }}.set
Expand Down
Loading

0 comments on commit 14c5a2d

Please sign in to comment.