From 7e8254e8bb371ac50ccea8642fbdd426a2d9ec56 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Thu, 31 May 2018 15:59:00 -0600 Subject: Makefile: simple makefile for filling tests which allows parallelism --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..032d081b6 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +ETHEREUM_TEST_PATH=$(CURDIR) +export ETHEREUM_TEST_PATH + +tx_tests:=$(wildcard TransactionTests/*) +gs_tests:=$(wildcard GeneralStateTests/*) +bc_tests:=$(wildcard BlockchainTests/*) +vm_tests:=$(wildcard VMTests/*) +all_tests:=$(tx_tests) $(gs_tests) $(bc_tests) $(vm_tests) + +fill-tx: $(tx_tests:=.fill) +fill-gs: $(gs_tests:=.fill) +fill-bc: $(bc_tests:=.fill) +fill-vm: $(vm_tests:=.fill) +fill-all: fill-tx fill-gs fill-bc fill-vm + +# Actual filling command + +%.fill: + testeth -t $* -- --filltests --verbosity 2 -- cgit v1.2.3