[PATCH] coverage: remove utf-8 encoding in symbolset names

Joel Sherrill joel at rtems.org
Fri Mar 22 15:26:56 UTC 2019


I am testing this now and then will apply.

On Fri, Mar 22, 2019 at 10:05 AM Vijay Kumar Banerjee <
vijaykumar9597 at gmail.com> wrote:

> ---
>  tester/rt/coverage.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tester/rt/coverage.py b/tester/rt/coverage.py
> index eef88f7..3e722cb 100644
> --- a/tester/rt/coverage.py
> +++ b/tester/rt/coverage.py
> @@ -256,10 +256,9 @@ class symbol_parser(object):
>                  self.ssets = self.symbol_set.split(',')
>              else:
>                  self.ssets = config.get('symbol-sets', 'sets').split(',')
> -                self.ssets = [sset.encode('utf-8') for sset in self.ssets]
>              for sset in self.ssets:
>                  lib = path.join(self.build_dir, config.get('libraries',
> sset))
> -                self.symbol_sets[sset] = lib.encode('utf-8')
> +                self.symbol_sets[sset] = lib
>                  ss = self.symbol_sets[sset]
>                  ss = ss.replace('@BSP@', self.bsp_name)
>                  ss = ss.replace('@BUILD-TARGET@', self.target)
> --
> 2.20.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190322/0850344b/attachment-0002.html>


More information about the devel mailing list