From b07278c331bb97185c6054015306d9fd7f16d2b8 Mon Sep 17 00:00:00 2001 From: Csongor Kiss Date: Tue, 13 Jun 2023 21:37:59 +0100 Subject: [PATCH] ethereum/Makefile: split test-identifiers from test-forge target This way, running `test-forge` is quicker. `make test` still runs all the tests. --- ethereum/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ethereum/Makefile b/ethereum/Makefile index 3a75c9c40..2be9b1e27 100644 --- a/ethereum/Makefile +++ b/ethereum/Makefile @@ -61,7 +61,7 @@ flattened: $(patsubst contracts/%, flattened/%, $(FLATTEN_FILES)) .env: .env.test cp $< $@ -test: test-forge test-ganache +test: test-forge test-identifiers test-ganache .PHONY: test-ganache test-ganache: build .env dependencies @@ -76,10 +76,13 @@ test-upgrade: build .env node_modules ./simulate_upgrades .PHONY: -test-forge: dependencies +test-identifiers: dependencies ./compare-method-identifiers.sh contracts/Implementation.sol:Implementation contracts/interfaces/IWormhole.sol:IWormhole ./compare-method-identifiers.sh contracts/bridge/BridgeImplementation.sol:BridgeImplementation contracts/bridge/interfaces/ITokenBridge.sol:ITokenBridge ./compare-method-identifiers.sh contracts/nft/NFTBridgeImplementation.sol:NFTBridgeImplementation contracts/nft/interfaces/INFTBridge.sol:INFTBridge + +.PHONY: +test-forge: dependencies forge test clean: