108 Commits

Author SHA1 Message Date
Michael Vines
114b91afe6 program-test now generates new blockhashes for test usage 2020-11-11 20:29:00 -08:00
Michael Vines
58724cb687 Use a non-zero fee_calculator for a more realistic test environment 2020-11-11 00:46:28 -08:00
Michael Vines
1a70a2a25b cargo-test-bpf now sets the "test-bpf" feature for crate tests
The feature allows for tests to distinguish between `cargo test` and
`cargo test-bpf` primarily for the purpose of excluding CPI tests that
require the system program under `cargo test`, as the path to enabling
CPI in `cargo test`-based testing is unclear
2020-11-06 10:21:07 -08:00
Michael Vines
920cd5285a Revert "Include Rent in ProgramTest::start() output"
This reverts commit c3d2d2134c93001566e1e56f691582f379b5ae55.
2020-11-05 20:14:34 -08:00
Michael Vines
77d9d06a44 Search BPF_OUT_DIR for programs 2020-11-05 14:29:17 -08:00
Michael Vines
d2b26a65e9 Search for program files in 'target/deploy' 2020-11-05 14:29:17 -08:00
Michael Vines
c3d2d2134c Include Rent in ProgramTest::start() output 2020-11-03 02:01:47 +00:00
Michael Vines
52a292a75b Add solana-program-test crate 2020-10-31 18:12:24 -07:00