Skip to content

Commit 67deb5a

Browse files
author
Everett Hildenbrandt
committed
Makefile, README: enable GenesisTestsFiller sanitation
1 parent 48d0d20 commit 67deb5a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Makefile

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ tx_tests:=$(wildcard TransactionTests/*)
66
gs_tests:=$(filter-out %stEWASMTests, $(wildcard GeneralStateTests/*))
77
bc_tests:=$(wildcard BlockchainTests/*)
88
vm_tests:=$(wildcard VMTests/*)
9-
all_tests:=$(gs_tests) $(bc_tests) $(vm_tests)
109

1110
tx_fillers:=$(wildcard src/TransactionTestsFiller/*)
1211
gs_fillers:=$(wildcard src/GeneralStateTestsFiller/*)
1312
bc_fillers:=$(wildcard src/BlockchainTestsFiller/*)
1413
vm_fillers:=$(filter-out %.sol %.md, $(wildcard src/VMTestsFiller/*))
15-
all_fillers:=$(gs_fillers) $(bc_fillers) $(vm_fillers)
14+
gen_fillers:=$(wildcard src/GenesisTestsFiller/*)
1615

1716
all_schemas:=$(wildcard JSONSchema/*.json)
1817

1918
# Testset sanitation
2019

21-
sani: sani-schema sani-vm sani-gs sani-tx sani-bc
20+
sani: sani-schema sani-vm sani-gs sani-tx sani-bc sani-gen
2221

2322
sani-schema: $(all_schemas:=.format)
2423

@@ -36,6 +35,11 @@ sani-tx: $(tx_tests:=.filled)
3635
# TODO: enable $(bc_tests:=.format) $(bc_fillers:=.format) $(bc_tests:=.filled)
3736
sani-bc: $(bc_tests:=.valid) $(bc_fillers:=.valid)
3837

38+
# TODO: enable $(gen_tests:=.format) $(gen_tests:=.valid) $(gen_tests:=.filled)
39+
sani-gen: $(gen_fillers:=.format) \
40+
$(gen_fillers:=.valid) \
41+
$(gen_fillers:=.filled)
42+
3943
%.format:
4044
python3 test.py format ./$*
4145
git diff --quiet --exit-code &>/dev/null

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ See the `TODO`s in the `Makefile` to see which checkers are enabled for which te
7272
- `gs`: GeneralStateTests and GeneralStateTestsFiller
7373
- `bc`: BlockchainTests and BlockchainTestsFiller
7474
- `tx`: TransactionTests and TransactionTestsFiller
75+
- `gen`: GenesisTestsFiller
7576

7677
### Runners/Fillers
7778

0 commit comments

Comments
 (0)