Skip to content

Tests: Create generic test parsing script #8

@pretorh

Description

@pretorh
grep -E '^(FAIL|UNSUPPORTED|XFAIL|XPASS): ' out.log
grep -E '^PASS: ' out.log | wc -l

# for each result type:
grep '^# TOTAL' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# PASS' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# SKIP' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# FAIL' out.log | awk -F: '{sum+=$2;} END{print sum;}'
grep '^# ERROR' out.log | awk -F: '{sum+=$2;} END{print sum;}'

# what else is there?
grep '^# ' out.log | grep -v -E '^# (TOTAL|PASS|SKIP|FAIL|ERROR): '
grep 'expected passes' out.log
grep 'Tests=' out.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions