Skip to content

Commit 732c037

Browse files
committed
add fixture skips
1 parent 68e98b3 commit 732c037

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

scripts/ci/fd-conformance.mjs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ 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 two fixtures provide executable config accounts, which we know is
23+
// a case that can't manifest under the Solana protocol.
24+
'68e8dbf0f31de69a2bd1d2c0fe9af3ba676301d6_3157979.fix',
25+
'04a0b782cb1f4b1be044313331edda9dfb4696d6.fix',
26+
];
27+
for (const fixture of skipFixtures) {
28+
await $`rm -f ${path.join(fixturesPath, fixture)}`;
29+
}
30+
1931
// Clone the SolFuzz-Agave harness.
2032
const solFuzzAgavePath = path.join(harnessPath, 'impl', 'solfuzz-agave');
2133
await $`git clone -b agave-v2.1.0 http://github.com/firedancer-io/solfuzz-agave.git ${solFuzzAgavePath}`;
@@ -57,7 +69,6 @@ await $`CORE_BPF_PROGRAM_ID=${getProgramId('program')} \
5769
await $`mv ${solFuzzAgaveTargetPath} ${testTargetPathCoreBpf}`;
5870

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

0 commit comments

Comments
 (0)