File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,15 @@ check-idl: idl
68
68
69
69
$(BUILD_$(NETWORK ) ) : cargo-test
70
70
71
+ .PHONY : test-sbf
72
+ test-sbf :
73
+ # ## Because the tests are performed in a separate module, we need to ensure that the programs are
74
+ # ## built prior to performing `cargo test-sbf`.
75
+ cargo build-sbf --features mainnet
76
+ # ## Unfortunately we cannot saturate all CPUs to perform tests due to nondeterministic `RpcError`
77
+ # ## reverts. We constrain the number of threads when we run these tests.
78
+ cd modules/matching-engine-testing && cargo test-sbf --features mainnet -- --test-threads 4
79
+
71
80
.PHONY : anchor-test
72
81
anchor-test : anchor-test-setup
73
82
cp target/deploy/upgrade_manager.so ts/tests/artifacts/testnet_upgrade_manager.so
You can’t perform that action at this time.
0 commit comments