Skip to content

Commit 3a808a8

Browse files
committed
add fixture skips
1 parent 79231d2 commit 3a808a8

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

scripts/ci/fd-conformance.mjs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,21 @@ await $`git clone https://github.com/firedancer-io/solana-conformance.git`;
1616
const testVectorsPath = path.join(harnessPath, 'impl', 'test-vectors');
1717
await $`git clone https://github.com/firedancer-io/test-vectors.git ${testVectorsPath}`;
1818

19+
// Remove the fixtures we want to skip.
20+
const fixturesPath = path.join(testVectorsPath, 'instr', 'fixtures', 'config');
21+
const skipFixtures = [
22+
// These fixtures provide executable config accounts, which we know is a
23+
// case that can't manifest under the Solana protocol.
24+
'04a0b782cb1f4b1be044313331edda9dfb4696d6.fix',
25+
'c7ec10c03d5faadcebd32dc5b9a4086abef892ca_3157979.fix',
26+
'68e8dbf0f31de69a2bd1d2c0fe9af3ba676301d6_3157979.fix',
27+
'f84b5ad44f7a253ebc8056d06396694370a7fa4c_3157979.fix',
28+
'8bbe900444c675cfc3fbf0f80ae2eb061e536a09.fix',
29+
];
30+
for (const fixture of skipFixtures) {
31+
await $`rm -f ${path.join(fixturesPath, fixture)}`;
32+
}
33+
1934
// Clone the SolFuzz-Agave harness.
2035
const solFuzzAgavePath = path.join(harnessPath, 'impl', 'solfuzz-agave');
2136
await $`git clone -b agave-v2.1.0 http://github.com/firedancer-io/solfuzz-agave.git ${solFuzzAgavePath}`;
@@ -57,7 +72,6 @@ await $`CORE_BPF_PROGRAM_ID=${getProgramId('program')} \
5772
await $`mv ${solFuzzAgaveTargetPath} ${testTargetPathCoreBpf}`;
5873

5974
// Run the tests.
60-
const fixturesPath = path.join(testVectorsPath, 'instr', 'fixtures', 'config');
6175
await $`source test_suite_env/bin/activate && \
6276
solana-test-suite run-tests \
6377
-i ${fixturesPath} -s ${testTargetPathBuiltin} -t ${testTargetPathCoreBpf}`;

0 commit comments

Comments
 (0)