Skip to content

Commit 11811db

Browse files
authored
Merge of #8271
2 parents 3bfdfa5 + 38e74e1 commit 11811db

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

Makefile

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,8 @@ TEST_FEATURES ?=
3030
# Cargo profile for regular builds.
3131
PROFILE ?= release
3232

33-
# List of all hard forks. This list is used to set env variables for several tests so that
34-
# they run for different forks.
35-
FORKS=phase0 altair bellatrix capella deneb electra fulu gloas
36-
3733
# List of all recent hard forks. This list is used to set env variables for http_api tests
38-
RECENT_FORKS=electra fulu
34+
RECENT_FORKS=electra fulu gloas
3935

4036
# Extra flags for Cargo
4137
CARGO_INSTALL_EXTRA_FLAGS?=
@@ -170,8 +166,8 @@ run-ef-tests:
170166
cargo nextest run --release -p ef_tests --features "ef_tests,$(EF_TEST_FEATURES),fake_crypto"
171167
./$(EF_TESTS)/check_all_files_accessed.py $(EF_TESTS)/.accessed_file_log.txt $(EF_TESTS)/consensus-spec-tests
172168

173-
# Run the tests in the `beacon_chain` crate for all known forks.
174-
test-beacon-chain: $(patsubst %,test-beacon-chain-%,$(FORKS))
169+
# Run the tests in the `beacon_chain` crate for recent forks.
170+
test-beacon-chain: $(patsubst %,test-beacon-chain-%,$(RECENT_FORKS))
175171

176172
test-beacon-chain-%:
177173
env FORK_NAME=$* cargo nextest run --release --features "fork_from_env,slasher/lmdb,$(TEST_FEATURES)" -p beacon_chain
@@ -184,15 +180,15 @@ test-http-api-%:
184180

185181

186182
# Run the tests in the `operation_pool` crate for all known forks.
187-
test-op-pool: $(patsubst %,test-op-pool-%,$(FORKS))
183+
test-op-pool: $(patsubst %,test-op-pool-%,$(RECENT_FORKS))
188184

189185
test-op-pool-%:
190186
env FORK_NAME=$* cargo nextest run --release \
191187
--features "beacon_chain/fork_from_env,$(TEST_FEATURES)"\
192188
-p operation_pool
193189

194-
# Run the tests in the `network` crate for all known forks.
195-
test-network: $(patsubst %,test-network-%,$(FORKS))
190+
# Run the tests in the `network` crate for recent forks.
191+
test-network: $(patsubst %,test-network-%,$(RECENT_FORKS))
196192

197193
test-network-%:
198194
env FORK_NAME=$* cargo nextest run --release \

0 commit comments

Comments
 (0)