Closed Bug 1224737 Opened 9 years ago Closed 9 years ago

Add pk11_gtest to all.sh run

Categories

(NSS :: Test, defect)

3.22
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mt, Assigned: mt)

References

Details

Attachments

(1 file, 2 obsolete files)

Bug 1215295 added some tests, but they aren't getting run by the CI system.
Attached patch bug1224737.patch (obsolete) — Splinter Review
I'm still running the tests, but I think that this is right.
Assignee: nobody → martin.thomson
Status: NEW → ASSIGNED
Attachment #8687439 - Flags: review?(ttaubert)
Attached patch bug1224737-w.patch (obsolete) — Splinter Review
This is the same as attachment 8687439 [details] [diff] [review], but with diff -w instead.  I realize that the other patch might have a little too much noise as a result of whitespace changes.
Comment on attachment 8687439 [details] [diff] [review]
bug1224737.patch

Review of attachment 8687439 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM with the few nits fixed.

::: tests/pk11_gtests/pk11_gtests.sh
@@ +18,5 @@
> +#   NOTE .... unexpected behavior
> +#
> +########################################################################
> +
> +############################## ssl_gtest_init ##########################

pk11_gtest_init

@@ +38,5 @@
> +  html_head PKCS\#11 Gtests
> +
> +  if [ ! -d "${PK11GTESTDIR}" ]; then
> +    pk11_gtest_certs
> +  fi

This should be removed.

@@ +60,5 @@
> +  unset NSS_STRICT_SHUTDOWN
> +  SSLGTESTREPORT="${PK11GTESTDIR}/report.xml"
> +  ${BINDIR}/pk11_gtest -d "${PK11GTESTDIR}" --gtest_output=xml:"${PK11GTESTREPORT}"
> +  html_msg $? 0 "pk11_gtest run successfully"
> +  sed -f ${QADIR}/ssl_gtests/parsereport.sed "${PK11GTESTREPORT}" | \

/pk11_gtests/
Attachment #8687439 - Flags: review?(ttaubert) → review+
https://hg.mozilla.org/projects/nss/rev/eff8e4bc3a7e

Made a few other small corrections to s/ssl_/pk11_/ as a result of running the tests.
Attachment #8687439 - Attachment is obsolete: true
Attachment #8687441 - Attachment is obsolete: true
Attachment #8687451 - Flags: review+
Attachment #8687451 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: