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

Tests are always skipped when ut is #included into a module #623

Open
abbator opened this issue Mar 18, 2024 · 0 comments
Open

Tests are always skipped when ut is #included into a module #623

abbator opened this issue Mar 18, 2024 · 0 comments

Comments

@abbator
Copy link

abbator commented Mar 18, 2024

Expected Behavior

Tests should run regardless of whether ut is brought in using import ut; or #include "ut.hpp". Note that because building ut as a module doesn't work on windows and other dependencies #include standard library headers, building ut as a module is currently infeasible even in a project using modules (but those are separate issues).

Actual Behavior

If ut is brought into a C++20 module using #include instead of import ut; tests will always be skipped.

Steps to Reproduce the Problem

  1. Make a C++20 module
  2. #include ut.hpp in the global module fragment
  3. Create a test using "foo"_test
  4. Run the program. The tests will be skipped.

Specifications

  • Version: commit 3cfd993
  • Platform: Windows 11
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