• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tpm2-software / tpm2-tools / 1549
0%

Build:
DEFAULT BRANCH: master
Ran 23 Feb 2018 12:48AM UTC
Jobs 1
Files 887
Run time 36s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1549

push

travis-ci

William Roberts
test: fix compilation

With gcc v7.3.1 test_tpm2_alg_util.c fails with:
In file included from test/unit/test_tpm2_alg_util.c:33:0:
test/unit/test_tpm2_alg_util.c: In function ‘test_pcr_parse_digest_list_compound’:
test/unit/test_tpm2_alg_util.c:349:78: error: array subscript is above array bounds [-Werror=array-bounds]
             fail_msg("Missing algorithm test for: %u", dspec->digests.digests[i].hashAlg);
                                                        ~~~~~~~~~~~~~~~~~~~~~~^~~

Fix this by explicitly checking the array bounds.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

5126 of 6658 relevant lines covered (76.99%)

45.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
test/unit/test_tpm2_alg_util.c
Jobs
ID Job ID Ran Files Coverage
1 1549.1 23 Feb 2018 12:48AM UTC 0
76.99
Travis Job 1549.1
Source Files on build 1549
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1549
  • 9ad90862 on github
  • Prev Build on master (#1547)
  • Next Build on master (#1554)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc