Skip to content

Commit

Permalink
omit incorrect fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Dec 12, 2024
1 parent 937fb0d commit 7d3a5fa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/ci/fd-conformance.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import { getProgramId, getProgramSharedObjectPath, workingDirectory } from '../u

// Clone the conformance harness.
const harnessPath = path.join(workingDirectory, 'solana-conformance');
await $`git clone https://github.com/firedancer-io/solana-conformance.git`;
// await $`git clone https://github.com/firedancer-io/solana-conformance.git`;

// Clone the test vectors.
const testVectorsPath = path.join(harnessPath, 'impl', 'test-vectors');
await $`git clone https://github.com/firedancer-io/test-vectors.git ${testVectorsPath}`;
// await $`git clone https://github.com/firedancer-io/test-vectors.git ${testVectorsPath}`;

// Add the Mollusk-generated fixtures to the test inputs.
const firedancerFixturesPath = path.join(testVectorsPath, 'instr', 'fixtures', 'address-lookup-table');
const molluskFixturesPath = path.join(workingDirectory, 'program', 'fuzz', 'blob');
await $`cp -a ${molluskFixturesPath}/. ${firedancerFixturesPath}/`;
// await $`cp -a ${molluskFixturesPath}/. ${firedancerFixturesPath}/`;

// Remove the fixtures we want to skip.
const skipFixtures = [
Expand All @@ -41,6 +41,9 @@ const skipFixtures = [
// flags are checked.
// https://github.com/anza-xyz/agave/blob/970606e842d1027b5a34211219aacf3d39bb468d/programs/bpf_loader/src/lib.rs#L432-L436
'b7e56ebaf6df34ab71ca9c1a42c0551cfb79dab7_2789718.fix',
// This one belongs to the Stake program, but it's in the wrong folder.
// See https://github.com/firedancer-io/test-vectors/pull/62.
'crash-f2e925185043128e1cda0e21f2ab338321383ee4.fix',
];
for (const fixture of skipFixtures) {
await $`rm -f ${path.join(firedancerFixturesPath, fixture)}`;
Expand Down

0 comments on commit 7d3a5fa

Please sign in to comment.