xref: /third_party/ltp/testcases/open_posix_testsuite/scripts/print-pass-fail-summary.awk
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/open_posix_testsuite/scripts/
1f08c3bdfSopenharmony_ci#!/usr/bin/awk -f
2f08c3bdfSopenharmony_ci
3f08c3bdfSopenharmony_ci$1 == "PASS" {
4f08c3bdfSopenharmony_ci	pass += $2;
5f08c3bdfSopenharmony_ci	next
6f08c3bdfSopenharmony_ci}
7f08c3bdfSopenharmony_ci$1 == "FAIL" {
8f08c3bdfSopenharmony_ci	fail += $2
9f08c3bdfSopenharmony_ci}
10f08c3bdfSopenharmony_ciEND {
11f08c3bdfSopenharmony_ci	print "PASS", pass;
12f08c3bdfSopenharmony_ci	print "FAIL", fail;
13f08c3bdfSopenharmony_ci}
14

Indexes created Thu Nov 07 10:32:03 CST 2024