File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 1212} ;
1313
1414const TEST_VECTORS_PATH : & str = "tests/test-vectors" ;
15- const TEST_VECTORS_REPOSITORY : & str = "https://github.com/firedancer-io/test-vectors.git" ;
15+ const TEST_VECTORS_REPOSITORY : & str = "https://github.com/buffalojoec/test-vectors.git" ;
16+ const TEST_VECTORS_BRANCH : & str = "mollusk-tests" ;
1617const TEST_VECTORS_TO_TEST : & [ & str ] = & [
1718 "instr/fixtures/address-lookup-table" ,
1819 "instr/fixtures/config" ,
@@ -25,17 +26,12 @@ fn test_load_firedancer_fixtures() {
2526 let test_vectors_out_dir = Path :: new ( TEST_VECTORS_PATH ) ;
2627
2728 // Fetch the test vectors.
28- if test_vectors_out_dir. exists ( ) {
29- Command :: new ( "git" )
30- . arg ( "-C" )
31- . arg ( test_vectors_out_dir)
32- . arg ( "fetch" )
33- . status ( )
34- . expect ( "Failed to execute git pull" ) ;
35- } else {
29+ if !test_vectors_out_dir. exists ( ) {
3630 Command :: new ( "git" )
3731 . arg ( "clone" )
3832 . arg ( "--depth=1" )
33+ . arg ( "--branch" )
34+ . arg ( TEST_VECTORS_BRANCH )
3935 . arg ( TEST_VECTORS_REPOSITORY )
4036 . arg ( test_vectors_out_dir)
4137 . status ( )
You can’t perform that action at this time.
0 commit comments