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

Test runner args #1967 #1988

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

alexveden
Copy link
Contributor

@alexveden alexveden commented Feb 20, 2025

What is done:

  • Harmonize default test runner flags when it called directly via build/testrun and via c3c test. Current args got shrunk: so to run c3c --test-breakpoint we need to alter command line for direct call build/testrun breakpoint this is odd. And very inconvenient when launching from the debugger.
  • Add --test-quiet mode, when it prints only failed test messages and leaks. Full test names will be replaced by dotted progress..........
  • Add --test-noleak. Currently, when memory leaked in test, it prints LEAK DETECTED and displaying full leak report. User can disable tracking allocator leak detection (totally), or use --sanitize=address as alternative.
  • Add --test-nocapture flag to immediately print all stdout information for every test

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

Successfully merging this pull request may close these issues.

1 participant