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

cossacklabs / themis / #7682 / 1
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: release/0.15.0
DEFAULT BRANCH: master
Ran 04 Jun 2020 07:18PM UTC
Files 73
Run time 40s
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

04 Jun 2020 06:39PM UTC coverage: 87.761%. Remained the same
#7682.1

push

travis-ci

shadinua
Correct detecting of installing paths for i386

The approach we used previously, was based on getting the `cc -dumpmachine` value as a part of the target directory. It works well on x86_64, but on i386 the incorrect directory was drawn up.

= x86_64

`[/usr]/lib/x86_64-linux-gnu`

```
$ cc -dumpmachine
x86_64-linux-gnu

$ ld --verbose | grep SEARCH_DIR | tr -s ' ;' \\012
SEARCH_DIR("=/usr/local/lib/x86_64-linux-gnu")
SEARCH_DIR("=/lib/x86_64-linux-gnu")
SEARCH_DIR("=/usr/lib/x86_64-linux-gnu")
SEARCH_DIR("=/usr/lib/x86_64-linux-gnu64")
SEARCH_DIR("=/usr/local/lib64")
SEARCH_DIR("=/lib64")
SEARCH_DIR("=/usr/lib64")
SEARCH_DIR("=/usr/local/lib")
SEARCH_DIR("=/lib")
SEARCH_DIR("=/usr/lib")
SEARCH_DIR("=/usr/x86_64-linux-gnu/lib64")
SEARCH_DIR("=/usr/x86_64-linux-gnu/lib")
```

= i386

`[/usr]/lib/i686-linux-gnu`

```
$ cc -dumpmachine
i686-linux-gnu

$ ld --verbose | grep SEARCH_DIR | tr -s ' ;' \\012
SEARCH_DIR("=/usr/local/lib/i386-linux-gnu")
SEARCH_DIR("=/lib/i386-linux-gnu")
SEARCH_DIR("=/usr/lib/i386-linux-gnu")
SEARCH_DIR("=/usr/local/lib32")
SEARCH_DIR("=/lib32")
SEARCH_DIR("=/usr/lib32")
SEARCH_DIR("=/usr/local/lib")
SEARCH_DIR("=/lib")
SEARCH_DIR("=/usr/lib")
SEARCH_DIR("=/usr/i686-linux-gnu/lib32")
SEARCH_DIR("=/usr/i686-linux-gnu/lib")
```

So the suggested solution is to simply use `i386-linux-gnu` instead of `i686-linux-gnu`, which works well on all i386 Debian/Ubuntu distributives.

3779 of 4306 relevant lines covered (87.76%)

19299.41 hits per line

Source Files on job #7682.1
  • Tree
  • List 0
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7682
  • feabac65 on github
  • Prev Job for on HEAD (##7681.1)
  • Next Job for on HEAD (##7683.1)
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