aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJ08nY2021-01-30 18:30:55 +0100
committerJ08nY2021-01-30 18:40:43 +0100
commitf94d63b3b84fde4a2a9004ba0afc6693f5ba4916 (patch)
treeb5c14211b48b0e5ea4f4cc122a4e1e10986249b0 /Makefile
parent28546dad01a25ce101d6b49924f521c2ef5ffa98 (diff)
downloadpyecsca-f94d63b3b84fde4a2a9004ba0afc6693f5ba4916.tar.gz
pyecsca-f94d63b3b84fde4a2a9004ba0afc6693f5ba4916.tar.zst
pyecsca-f94d63b3b84fde4a2a9004ba0afc6693f5ba4916.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c22cf87..9acd9c6 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@ sca.test_sampling sca.test_target sca.test_test sca.test_trace sca.test_traceset
TESTS = ${EC_TESTS} ${SCA_TESTS}
+PERF_SCRIPTS = test/ec/perf_mod.py test/ec/perf_formula.py test/ec/perf_mult.py
+
test:
nose2 -s test -E "not slow and not disabled" -C -v ${TESTS}
@@ -28,6 +30,10 @@ codestyle:
codestyle-all:
flake8 --ignore=E501,F405,F403,F401,E126 pyecsca test
+perf: ${PERF_SCRIPTS}
+ mkdir -p .perf
+ echo $^ | env DIR=".perf" xargs -n 1 python
+
doc-coverage:
interrogate -vv -nmps -e pyecsca/ec/std/.github/ -f 55 pyecsca
@@ -35,4 +41,4 @@ docs:
$(MAKE) -C docs apidoc
$(MAKE) -C docs html
-.PHONY: test test-plots test-all typecheck typecheck-all codestyle codestyle-all doc-coverage docs \ No newline at end of file
+.PHONY: test test-plots test-all typecheck typecheck-all codestyle codestyle-all perf doc-coverage docs