Skip to content

kcov: error: ${LINENO} is not an integer #478

@jakub-bochenski

Description

@jakub-bochenski

I'm trying to use kcov with bats, it seems to produce a coverage report, but the output has an error message before each test, e.g.

$ kcov/usr/local/bin/kcov out/coverage support/bats/bin/bats test/helpers/
1..20
kcov: error: ${LINENO} is not an integer
ok 1 is_uuid returns true for valid UUID

Weirdly at one point it prints out the trace of internal code of bats-assert/assert_equal:

  line2
  line3 != \l\i\n\e\1\
\ \ \l\i\n\e\2\
\ \ \l\i\n\e\3 ]]

I'm using https://github.com/SimonKagstrom/kcov/releases/download/v40/kcov-amd64.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions