Skip to content

Cannot run tests in bytecode mode #19

@jfeser

Description

@jfeser

When I run inline tests in bytecode mode, I get the following message:

You are doing something unexpected with the tests. No tests have
been run. You should use the inline_tests_runner script to run
tests.

It seems that Base.Exported_for_specific_uses.am_testing is false when compiling to bytecode. Removing the check fixes the issue:

when Base.Exported_for_specific_uses.am_testing -> begin

This is with Base v0.13.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    forwarded-to-js-devsThis report has been forwarded to Jane Street's internal review system.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions