Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primitive not found std@mutex_create #34

Open
explorigin opened this issue May 23, 2015 · 0 comments
Open

Primitive not found std@mutex_create #34

explorigin opened this issue May 23, 2015 · 0 comments

Comments

@explorigin
Copy link

This is my first time integrating mcover. I was able to get it running successfully in PHP and JS. But Neko throws me an error. This is with Haxe 3.2.

/usr/lib/haxe/std/neko/vm/Mutex.hx:27: characters 6-20 : Primitive not found std@mutex_create:0
<builtin>:1: character 0 : Called from
/usr/lib/haxe/std/neko/vm/Mutex.hx:24: lines 24-42 : Called from
/usr/lib/haxe/lib/mcover/2,1,1/mcover/coverage/MCoverage.hx:59: characters 29-40 : Called from
src/project/test/TestRunner.hx:9: characters 21-58 : Called from
src/project/test/TestRunner.hx:33: characters 8-18 : Called from
?:1: characters 1048575-8796094070782 : Called from
Aborted

Build instructions are:

-cp src
-lib mcover
--macro mcover.MCover.coverage(['project.view'], ['src'])
-main project.test.TestRunner
--interp

Test runner main function looks like:

        var logger = mcover.coverage.MCoverage.getLogger();  // Line: 9 mentioned in the stack trace

        var r = new haxe.unit.TestRunner();

        r.add(new project.view.test.TestVirtualizationTools());
        r.run();

        logger.report();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant