Skip to content

Coverage option causes function to have allocations #127

@rekabrnalla

Description

@rekabrnalla

I do a allocation check against one of my functions by defining a function

'ff()=@allocated myfunction(something, here)
@test ff()==0'

They I run 'Pkg.test(coverage=true)'

Things work fine, but when I run it with

'TestReports.test(Pkgname;coverage=true)'
Allocations are reported and the test fails.

Is there a work around? Is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions