Skip to content

fix: correct integration tests command in README#407

Open
ygd58 wants to merge 2 commits intologos-blockchain:mainfrom
ygd58:fix/integration-tests-readme
Open

fix: correct integration tests command in README#407
ygd58 wants to merge 2 commits intologos-blockchain:mainfrom
ygd58:fix/integration-tests-readme

Conversation

@ygd58
Copy link
Copy Markdown
Contributor

@ygd58 ygd58 commented Mar 26, 2026

Summary

Fixes #313.

The integration tests section used cargo run which fails with:

error: a bin target must be available for `cargo run`

Changes

  • Replace cargo run $(pwd)/configs/debug all with cargo test -p integration_tests --release -- --nocapture
  • Remove unnecessary cd integration_tests step

Testing

RUST_LOG=info RISC0_DEV_MODE=1 cargo test -p integration_tests --release -- --nocapture

Fixes #313

The previous command used `cargo run` which fails with:
  error: a bin target must be available for `cargo run`

The correct command is `cargo test -p integration_tests`.
Also removed the unnecessary `cd integration_tests` step since
the -p flag targets the package directly from the repo root.

Fixes logos-blockchain#313
Copy link
Copy Markdown
Collaborator

@Pravdyvy Pravdyvy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration tests instructions outdated?

3 participants