summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-02-12 22:02:17 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2019-02-13 09:34:08 +0000
commit5f7ef966aa4204c774a4e23bd1bd9a34d07db67c (patch)
treebdc5f4d8deaa1e8455edde4cf0984d453d9fb90f
parentMore clang-tidy WIP (diff)
downloadlibadhocutil-5f7ef966aa4204c774a4e23bd1bd9a34d07db67c.tar.bz2
libadhocutil-5f7ef966aa4204c774a4e23bd1bd9a34d07db67c.tar.xz
libadhocutil-5f7ef966aa4204c774a4e23bd1bd9a34d07db67c.zip
Enable performance checks (not for tests)libadhocutil-0.7.1
-rw-r--r--Jamroot.jam2
-rw-r--r--libadhocutil/unittests/Jamfile.jam5
2 files changed, 6 insertions, 1 deletions
diff --git a/Jamroot.jam b/Jamroot.jam
index 7111626..1e66cc8 100644
--- a/Jamroot.jam
+++ b/Jamroot.jam
@@ -24,7 +24,7 @@ project
<toolset>tidy:<checkxx>modernize-*
#<toolset>tidy:<checkxx>cppcoreguidelines-*
#<toolset>tidy:<checkxx>hicpp-*
-#<toolset>tidy:<checkxx>performance-*
+ <toolset>tidy:<checkxx>performance-*
;
build-project libadhocutil ;
diff --git a/libadhocutil/unittests/Jamfile.jam b/libadhocutil/unittests/Jamfile.jam
index 02a9275..b9f5c60 100644
--- a/libadhocutil/unittests/Jamfile.jam
+++ b/libadhocutil/unittests/Jamfile.jam
@@ -7,6 +7,11 @@ type.register TEXT : txt ;
generators.register-standard xxd.h : TEXT : H ;
+project
+ : requirements
+ <toolset>tidy:<xcheckxx>performance-*
+ ;
+
actions xxd.h
{
( cd ./$(2:D) && xxd -i $(2:B).txt ) > $(1[1])