coral-xyz / anchor

⚓ Solana Sealevel Framework
https://anchor-lang.com
Apache License 2.0
3.36k stars 1.25k forks source link

Remove empty tests #3055

Closed mina86 closed 4 days ago

mina86 commented 5 days ago

This is prompted by warnings I get whenever I build Anchor programs:

warning: skipping duplicate package `shared` found at `…/.cargo/git/checkouts/anchor-5212c2606adb64eb/788c61c/tests/zero-copy/programs/shared`
warning: skipping duplicate package `shared` found at `…/.cargo/git/checkouts/anchor-5212c2606adb64eb/788c61c/tests/typescript/programs/shared`

I’m not completely clear on the reasons but I figured since the tests don’t actually do anything they can be removed and hopefully the warnings will go away.

There are three more warnings I’m seeing, but I’ve no idea what to do about those:

warning: skipping duplicate package `relations-derivation` found at `…/.cargo/git/checkouts/anchor-5212c2606adb64eb/788c61c/tests/idl/programs/relations-derivation`
warning: skipping duplicate package `docs` found at `…/.cargo/git/checkouts/anchor-5212c2606adb64eb/788c61c/tests/docs/programs/docs`
warning: skipping duplicate package `swap` found at `…/.cargo/git/checkouts/anchor-5212c2606adb64eb/788c61c/tests/swap/programs/swap`
vercel[bot] commented 5 days ago

@mina86 is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

mina86 commented 4 days ago

Turns out I’m seeing the warnings because I’m patching anchor-syn (I need to due to #2812). I don’t know why patching would cause that behaviour but it does.