aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-01 05:59:00 +0800
committerEverett Hildenbrandt <hildenb2@illinois.edu>2018-06-01 06:21:28 +0800
commit7e8254e8bb371ac50ccea8642fbdd426a2d9ec56 (patch)
treeae3426e8d768bbe8cecf67e3881b03ff18fbf2a9 /Makefile
parent0eef2f31ab59016a7ccad2a99d4644f753eebcb9 (diff)
downloadtangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar.gz
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar.bz2
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar.lz
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar.xz
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.tar.zst
tangerine-tests-7e8254e8bb371ac50ccea8642fbdd426a2d9ec56.zip
Makefile: simple makefile for filling tests which allows parallelism
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
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