Closed Bug 1306319 Opened 8 years ago Closed 8 years ago

Fix layer violations

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: franziskus, Assigned: franziskus)

References

Details

Attachments

(1 file)

Looks like I introduced layer violations with bug 957105 after all.
This should fix the modular builds, i.e. moved the valutes from certt.h I need to ecl-curve.h and split the ectests into freebl ectests and pk11 ectests.
Attachment #8796537 - Flags: review?(kaie)
Attachment #8796537 - Flags: review?(dueno)
Comment on attachment 8796537 [details] [diff] [review]
fix-boundaries.patch

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

Thank you for working on that.  It looks good and the build succeeded here.  One thing however is that running tests/ec/ectest.sh fails with token-only build, because pk11ectest and certutil are not built.  Maybe the test script could be split too or check the existence of those programs?
Attachment #8796537 - Flags: review?(dueno) → review+
> Maybe the test script could be split too or check the existence of those programs?

Good point! I'll make sure to change the test script before landing so that the script runs the tests only when the binaries are present.
Comment on attachment 8796537 [details] [diff] [review]
fix-boundaries.patch

I've applied this patch locally (hg import --no-commit) and then produced a whitespace-ignore diff (hg diff -w) which makes things much easier to review, because it no longer gives the impression that large blocks of code are changing.

With that -w patch, I see that you're mostly removing things, so that each test program only tests a subset.

This line is apparently wrong, you probably want to call pk11ectest ?
  +PK11_ECTEST_OUT=$(fbectest -n -d 2>&1)

r=kaie if you fix this and what Daiki said
Attachment #8796537 - Flags: review?(kaie)
Blocks: 1280846
https://hg.mozilla.org/projects/nss/rev/0c845c900217050b8ee6e054655ea130d24480a4
Status: NEW → RESOLVED
Closed: 8 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: