Skip to content

Commit

Permalink
add verbose option
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ece committed May 17, 2024
1 parent a6a7eda commit 4913d8b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 0 additions & 1 deletion impl/agave-v2.0
Submodule agave-v2.0 deleted from a7ae26
1 change: 1 addition & 0 deletions impl/agave-v2.0
9 changes: 8 additions & 1 deletion src/test_suite/test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,12 @@ def run_tests(
log_chunk_size: int = typer.Option(
10000, "--chunk-size", "-c", help="Number of test results per file"
),
verbose: bool = typer.Option(
False,
"--verbose",
"-v",
help="Verbose output: log failed test cases",
),
):
# Add Solana library to shared libraries
shared_libraries = [solana_shared_library] + shared_libraries
Expand Down Expand Up @@ -557,7 +563,8 @@ def run_tests(

print(f"Total test cases: {passed + failed + skipped}")
print(f"Passed: {passed}, Failed: {failed}, Skipped: {skipped}")
print(f"Failed tests: {failed_tests}")
if verbose:
print(f"Failed tests: {failed_tests}")

@app.command()
def decode_protobuf(
Expand Down

0 comments on commit 4913d8b

Please sign in to comment.