From 0c9de369b0553307a1e6be30a0fcace16271ae59 Mon Sep 17 00:00:00 2001 From: Frank Winklmeier <frank.winklmeier@cern.ch> Date: Tue, 1 Oct 2019 11:06:42 +0200 Subject: [PATCH] CodeCheck: Delete obsolete package --- Projects/Athena/package_filters.txt | 1 - Tools/CodeCheck/CMakeLists.txt | 6 -- Tools/CodeCheck/doc/README | 122 ------------------------- Tools/CodeCheck/rules/AtlasNC1.rule | Bin 539 -> 0 bytes Tools/CodeCheck/rules/AtlasNC2.rule | Bin 556 -> 0 bytes Tools/CodeCheck/rules/AtlasNC5a.rule | Bin 330 -> 0 bytes Tools/CodeCheck/rules/AtlasNC5b.rule | Bin 367 -> 0 bytes Tools/CodeCheck/rules/AtlasNC5c.rule | Bin 349 -> 0 bytes Tools/CodeCheck/rules/AtlasNC6a.rule | Bin 430 -> 0 bytes Tools/CodeCheck/rules/AtlasNC6b.rule | Bin 658 -> 0 bytes Tools/CodeCheck/rules/AtlasNC6c.rule | Bin 578 -> 0 bytes Tools/CodeCheck/rules/AtlasNC6d.rule | Bin 501 -> 0 bytes Tools/CodeCheck/rules/AtlasNC7.rule | Bin 490 -> 0 bytes Tools/CodeCheck/rules/AtlasNI2.rule | Bin 318 -> 0 bytes Tools/CodeCheck/rules/frame.htm | 5 - Tools/CodeCheck/rules/index_name.htm | 5 - Tools/CodeCheck/rules/index_number.htm | 5 - Tools/CodeCheck/rules/namingRules.txt | 15 --- Tools/CodeCheck/rules/psrc | 105 --------------------- Tools/CodeCheck/rules/psrcPackage | 111 ---------------------- Tools/CodeCheck/rules/psrcRelease | 108 ---------------------- Tools/CodeCheck/share/truncate.py | 57 ------------ 22 files changed, 540 deletions(-) delete mode 100644 Tools/CodeCheck/CMakeLists.txt delete mode 100755 Tools/CodeCheck/doc/README delete mode 100755 Tools/CodeCheck/rules/AtlasNC1.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC2.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC5a.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC5b.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC5c.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC6a.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC6b.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC6c.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC6d.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNC7.rule delete mode 100755 Tools/CodeCheck/rules/AtlasNI2.rule delete mode 100755 Tools/CodeCheck/rules/frame.htm delete mode 100755 Tools/CodeCheck/rules/index_name.htm delete mode 100755 Tools/CodeCheck/rules/index_number.htm delete mode 100755 Tools/CodeCheck/rules/namingRules.txt delete mode 100755 Tools/CodeCheck/rules/psrc delete mode 100755 Tools/CodeCheck/rules/psrcPackage delete mode 100755 Tools/CodeCheck/rules/psrcRelease delete mode 100755 Tools/CodeCheck/share/truncate.py diff --git a/Projects/Athena/package_filters.txt b/Projects/Athena/package_filters.txt index c6654ba6601..21afe1a87d8 100644 --- a/Projects/Athena/package_filters.txt +++ b/Projects/Athena/package_filters.txt @@ -59,7 +59,6 @@ # obsolete packages to be removed in a second step - Tracking/TrkTools/TrkSegmentConverter - Tools/CoolDozer -- Tools/CodeCheck # Huge D3PD librarys not really useful any more - PhysicsAnalysis/D3PDMaker/InDetD3PDMaker diff --git a/Tools/CodeCheck/CMakeLists.txt b/Tools/CodeCheck/CMakeLists.txt deleted file mode 100644 index 45fde9ae150..00000000000 --- a/Tools/CodeCheck/CMakeLists.txt +++ /dev/null @@ -1,6 +0,0 @@ -################################################################################ -# Package: CodeCheck -################################################################################ - -# Declare the package name: -atlas_subdir( CodeCheck ) diff --git a/Tools/CodeCheck/doc/README b/Tools/CodeCheck/doc/README deleted file mode 100755 index 034b8d472ae..00000000000 --- a/Tools/CodeCheck/doc/README +++ /dev/null @@ -1,122 +0,0 @@ -package CodeCheck - -author Albrand Solveig <albrand@isn.in2p3.fr> -########################################################################## -Version 01-00-02 -# added undocumented option -Zall -Version 01-01-00 -# added the rulechecker tool (10 december 2002) -Version 01-00-01 -# changed codewizard config file name from .psrc to psrc -Version 01-00-00 -## Limited Check of Atlas C++ coding rules using CodeWizard from Parasoft. -############################################### -# See the following page for complete details -http://atlas.web.cern.ch/Atlas/GROUPS/SOFTWARE/OO/Development/qa/Tools/ -# Pre-Conditions: -Your code should compile without error. (but see below) -# rulechecker is a code verifier. It is not yet complete, but it is tailored for -Atlas coding rules. -# codewizard is a code verifier. It tests a different set of rules, but -currently cannot cope with part of the Boost Library which is used by Storegate - -# Execution (from the ..../cmt directory of your package): -codewizard : - - gmake codewizard - - Note that codewizard has been configured NOT to call the compiler after its - own execution - -rulechecker: - - gmake rulechecker - -# Output : -codewizard : (one file per package) - The file is called $(CODECHECK_OUTPUT_DIRECTORY)/$(version).cwrpt - e.g. LArBookkeeping-00-00-05.cwrpt. - - rulechecker: (one file per cxx source file) - $(CODECHECK_OUTPUT_DIRECTORY)/$(name).viol - - By default the output goes into ../CodeCheck/[codewizard|rulechecker]. - You can override this - (see web page referenced above) - -####################################################### -More details on codewizard -####################################################### - This package is called CodeCheck. - It was originally for the now obsolete "CodeCheck" tool - Version 01-00-00 installs a limited version of "codewizard" from Parasoft. - -In the ../rules directory - - - in ../rules are the definition of the rules to be applied by codewizard - (1) The "user defined rules" *.rule. These are specific Atlas rules. - (2) And a textfile which lists the user defined rules which will be applied - (3) There should be at least a file called by default ".psrc" which is the configuration for codewizard. - - - The configuration file ../rules/.psrc should contain : - (1) - The definition of the default output file - which is be overruled by an option - on the above line " -Zoi "report_file filename"" - - (2) The enumeration of codewizard built-in rules which we want to use. 22 of - the Atlas rules are concerned. - (3) The definition of other rules that codewizard will include - (optional rules and home-made rules) - i.e. gives the name of the text file containing the list - - -##################################################### - - The lxplus path is "/pttools/CodeWizard/codewizard/lib.linux2" - - codewizard must be installed on the host machine - and the execution called in the make file fragment is - - ${CODECHECK}/codewizard -############################################################# -The paths to find the tool: - If you are running on lxplus there is no problem. -Codewizard is installed. Otherwise you must install it, and override the -following macros. -#################################################### -macro CODECHECK_TOP ""\ - CERN "/pttools/CodeWizard/codewizard" - -macro ARCH ""\ - Linux "linux2" -# not done for SOLARIS - - -macro CODECHECK "${CODECHECK_TOP}/bin.${ARCH}" - - -NOTE: -Code parsers are not perfect, and their output should be taken merely as a useful -guide. -################################ -# -14/03/02 - added option -Zall -It turns out that the codewizard parser can sometimes spot things incorrect code -that the compiler has passed. By default, codewizard does not tell you when it -does this, it just produces no output. -The option -Zall will tell you that there is a parsing problem, which may -indicate an obscure error in the C++ code. -############################################## -################################################ -More details on rulechecker -rulechecker is installed in the common LCG dist area at CERN. -/afs/cern.ch/sw/lcg/contrib/rulechecker -This directory also contains the complete userGuide. -For installing at other sites please consult Solveig Albrand. -The web site referenced above contains the list of Atlas Rules currently -checked. -Some parsing problems remain. -#################################### - diff --git a/Tools/CodeCheck/rules/AtlasNC1.rule b/Tools/CodeCheck/rules/AtlasNC1.rule deleted file mode 100755 index 4c5bf2e201592882e0c6ce36d104c96413c69f34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 539 zcmah`OHaZ;5S~8db@6QUFrI*58sJF60Sk#u6qQDflA&GbChacSZcE~y#|4$g$<ut9 z*Z0jg4qW*Uey0NfE>xdMtV5PU-5+)bCOhnb9gM;0b^G9itc3cU%ak;i0-UE<!Tm_5 zl%pzAhEu<fgDGWPtTB?JWa7|Qdm}}mTxmlA5CiOX7Tj$47pd6W4|-D>Ghb#KDa=U4 zvMsnhFTWOgQ|M!ZYnwGILpHz>ZWJ#`Gepu_@nvCPi+jvN!k9E+#<C?-ZOju{q%kH` zGE)+iG2A9RN-)=?bdFoD6U1h=XnNS1P2N9(*<{>qfOQaU!u88x6V6F-TBgk8UAQ}! z`6y+|NE~%qmJO94AG0X6{=ns7p^+@s7Xz;GkAd@<EiCxK|8mrVJk;hT5x@yv80aUG ZM<<8(!WwT(WjxRKj|6jG_1DPr!Z##lp!xs+ diff --git a/Tools/CodeCheck/rules/AtlasNC2.rule b/Tools/CodeCheck/rules/AtlasNC2.rule deleted file mode 100755 index 42800beb932be424f8edcdd447ec8e7263bf2e98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 556 zcmah`O=|)%5S_SItx$R{?O}RSu`KFQ@L*S=Lj9l%Jyyou=mvHZNwNz4^EPW+tEZmw zn3*^4&5H+D!Bfy~13(!{lM#5`P7kWDBsU>X;W`*}`mR0bf*0}~+)U(J>5QyUl2Y(q zVhxW&o037DryOTN5BoF9gxp}H<c`Z?5^4+56som#G5|5a;lSW-FFr}fenIqSD&~R8 zwn{omg_RiGpSS0^-RAZ*P%gPO#)<WDh+8doWH}n^Y(+@cYO%^)p(%XsW8};kjL8ya zJX>+yLX)UGjWMAeM?y&%$9*EAq*$S?!M(5vV#6#OJ~rRR!F)O$&qm`>s}AgVfqQPJ z$7T3VTF@%xu3m<RbI;F8rJUr+G-D;GOw5Q!Df<PNSBB2H+*}aKE=&&IhgmZC#{X*6 kCMG;a!Qcchb%I2R=r8WVSbf2DCX6Y53*33tpH$BqUpz&pwEzGB diff --git a/Tools/CodeCheck/rules/AtlasNC5a.rule b/Tools/CodeCheck/rules/AtlasNC5a.rule deleted file mode 100755 index a38c17eabf4e2a9535bc706e91fab55ed8088849..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 330 zcmY+AO-sW-5Qb-yv{LX7h?l{WQZ4q-gOMU-TWCR2Y}A9Iup~<jCc9yG(t>}!PE#m4 zr}=p2d6@~JBd=w@4*(IIJSwwJbqPH=9>&}q4<T4gA-uaCL73_d^j-^FDk`jjaGpE3 zm{6%ax~9~a$PvbvsH!k)%&ggH(+WGS22L|pdVF>&`@Uzp9ALK-aJDUel*<Qu#2~S` zmbR*`;oYtX1f2gJFB_^GItrqIF%N7TqioqmRoY|KctTIg5pE0mLS?Y2Ywa@SHI|x4 vJG@-Yo?aHK+4KqoLpTIKVh?H4f37JxzUb&GL;w+AsiFJ%KDl}O5Qp*?h=pFW diff --git a/Tools/CodeCheck/rules/AtlasNC5b.rule b/Tools/CodeCheck/rules/AtlasNC5b.rule deleted file mode 100755 index 54519fafeb77669706ed764549de649e0340ba94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 367 zcmY+APfx-?5XEO({)CTUyi7bPC=nA5BAAduB2iHRIcPN5v?Fe8cbo0BM87<)#Sop_ z%)GqcoAIF<90#oy092rUBlT)dF*Jffr{|`F4tSFh_~)lx@aI%OW2sCmSs4xfRb=5{ z$g#}O<}u+k=wc72GEsVkq0t5DQdliDaK@i0Mf8RRg=}p9Hn^9TRT$H?(v&#UFl%1o z!piVtSxPQks0d)Q5wN#bU(!bHA5eR0A_`2B8tn)*;R)FPyS~dg&3PxNc+RHp!u4>m zO^{)dXN(y;KCTtNqtuwEDcMkFgfTIb#lzY7;c+q>kB&e%2Uh~>zYb;d4?1V-&fY<V T@Sx&eK~Q^r9-chCh;91~24ZbK diff --git a/Tools/CodeCheck/rules/AtlasNC5c.rule b/Tools/CodeCheck/rules/AtlasNC5c.rule deleted file mode 100755 index c66665d3728853c0fe1666b722ec3d0eb151aa70..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 349 zcmY+9O-sW-5Qb-yw9=m-UPez!W3h)Gj8rITp#`bfpa(@^X@(lu?1s&3Llu8}-Skj& zPV@23^Uj3ON#nHN2Y?7p9;Du6q@b6Mhl%fwhY&2L5Z>O5Ak1hBy_do$$%WAn&T|VF z6IQZD>lEQK9btk?Sr&SOYooWM55mqt1Lve&i5W{K{N7k19pjFaGEIz@a{RgTH{<~O zy@1oE_>wjswA{hc<dmASGTH;XA`o!)cl_wMa(om-fydnYTN0eLhP<n&#?sY{HA~Cb z6#R)&qpK>iYgrR2VkV21tJ%}@Vl|syf$$6;0-~02$o_d|Z2gl*Pay(`{Nn`OkGIM7 J>$_iU%U{opWrzR( diff --git a/Tools/CodeCheck/rules/AtlasNC6a.rule b/Tools/CodeCheck/rules/AtlasNC6a.rule deleted file mode 100755 index ba02f54dfdec367ea7f5531657d4e48acc8d7ff9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 430 zcmY+APfx-?5XEO(MBy74J<Jh;f*jO@goCssHZiC)dNG=ebi_@TU9w$T!k5RjQ389~ z`S*S=FNCA$BI<Mipaww_L)gE%h2sa(^OO}dqG5mF$HP8^DHqUql}3@1Mnia?S-?A| zD97naF;1czoX|q*InInOSXXN&Ph=@IUk<JdBQxZ+v$Xsb;Z_@)Rd0OI>-Bb!CZac% z0c^JdPD{BVn{};+btfj{$Sjsddrn;h0?ziwk1Mxax!po7@G?>5aDX`CxztEXVL?{X zr}wUD!8w-FeIubVCEFS0jEbFO+igw9&o9Yz9JfJuA^(I=;_o*1WdP^<^pP=&N$>DN i1W-@%m}g4-e-8bo&idRA4r)G2hWf`FU2fh5ROJuG3V%=l diff --git a/Tools/CodeCheck/rules/AtlasNC6b.rule b/Tools/CodeCheck/rules/AtlasNC6b.rule deleted file mode 100755 index 8095d84ef2c8bb30d0e059e805d10062876759cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 658 zcmah_O;5r=6nwRO2+<#4^ze=l6oOF>Bpjq*Y+^uZ^kOvGv=3~u>^8ewApCjU5@^5+ zd)j#)GxNrUqIc^x8URp$Gk*Z?{X+-JuT0DW;!yE=?XGS2+TaGXfXZhqIWw^o;J!o( z@X2tdaguVvk=MZyo5x~?p%e=e+p+UErdS}S1|AnOj*wPHu_Pm*S{<v~+VH5>YULtT zL~ASp*lZlQTE=UpqNcK9&5?}Alk-Fht5bGdaNzo|KTb`OntY<*S{|5fJ$A8AvsfVG z9H*%WGn**boOF#=AteSqDYQ{(Xr$7}M1%v%aUGYj`9+3YE=h$<6LK<!RI@f2zJK_W z;h=8KWY2-h^NwFzScIEHhkYqIF_Bwz>=97%^?*X|>_5jx1xDF)^9?uKDA>r!vX_3o q*xmZu*%eMpUHbaqPJn;-G{HsYb)O5sF+9Cq_4PO*#cap`2jCAVoy=tb diff --git a/Tools/CodeCheck/rules/AtlasNC6c.rule b/Tools/CodeCheck/rules/AtlasNC6c.rule deleted file mode 100755 index 1e3c4dc0f4ab58c288ca35ff032c067778f581cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 578 zcmah`O-}+b5S;=l?!~jw!+27o^5MY)#)Ix^Br2$@T#S;kJ3y1}mb3*U#@~)zMLtgU z^fGTc@6DS$toVoi!2tjiAXg6{U#%R&+AU9eAxT*G&nh)XpH(3r(g@aDLP>6gN+Ew8 zYuGurk{i@RN!ajDu-4#-NP8HmbVTV-U-6!69;&W|AacD1uav@1Z=l79TdH}8BDL7z z`V<k%Wt=HY8DY%@*BR5i@xD%-(HLMdVX*lw#$3mxOuW=kG5IPPsMN`>vK)i0MY=h( zgQ1-@6mo7%;0)LBsZWTzNqe`1m<)|`LfBPOs&|U9^MM>Qs4?P(P?EI{?>$~VJl7vD zgMAN}o8%sYjXO#@j%;x)ct?^e7GQhP#D!9lcsg^zSPoX}CZI^NKd@{&wA!V)^r7Gq zCMdoo?H7JDer51m_*bY{H=%WxivZ?uDI>qHL^KaEbLZWYPJ}Vpy|W$HrdL}ez5!=t BtV93+ diff --git a/Tools/CodeCheck/rules/AtlasNC6d.rule b/Tools/CodeCheck/rules/AtlasNC6d.rule deleted file mode 100755 index 15236cebfb07206b0c6c9ff1f6d69e0277f9060e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 501 zcmaix%})X`5XGnL%GbrS(L+6<K?!*9fboC}iJK@Q8#!o{l-&WEbho7KLgGJ<1BnPH zPo2!0*WdKjgQMUosMi6&heFr|uhqPP(v!$$5h|zz_surR_bu=uTta0ewGvM147|t0 zz<I|hVY$f_@_um3+kKJBY{p}qEiv29l?TFzNKYLh01|-pn!(9RehZT{HpWI@Cm85- zp);}+S%JanzWkEAMecS3eu1vJBUqdB4p(}GhR4DpSLhtoX>J{#YDEfnbL2HUt~L0@ zu=n~F4tw3pDzNP)bR0ipIw8wQ7%3(Ssqe$tKKnsyg(BO*87n|Bv|Wr9`z;Q)jhvwX z4h%kpf>8dl<B!hu`zJxRjekMq&_<5Jjv4IALs&4^GXBeMvt4z7CY9E1z6j`zrG=48 I;c#F00Yxa2_y7O^ diff --git a/Tools/CodeCheck/rules/AtlasNC7.rule b/Tools/CodeCheck/rules/AtlasNC7.rule deleted file mode 100755 index fafaf541a7b376f555e23a8bf2c3d790f7031d66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 490 zcmY+BO-}+r42HXa8jT)28ZV7U`B*s-AsomOBhkPCPZ}kY-Lg#Fo!N8;NcbK8U+jP( zILRE^xAU}prwS)gBdXT{pazxE5UP(49XNYcCY@3S=TX1i6}jJr>XcS+H8OL{xpLYX zl|l76VYnN(OqIyXjBp%vu#01rYm;JZ&5DdK75Y;wMI}y_j`)pL{7pR6sdhaK!^z9V zkvjX6XFDBxVTcJ8OtEs52ubdC8^Fz4Zxkmj-?ufk2}L$9tdWMNK_!6OV_CWuOLr)! zRRr@RvvzT0(5ReBbPMJD#HB7B+BxQy$tMj86W5lL2Ci8<pWMgt#-=0@H&B@bOQ+Z& zsd%v~-xKFH%k0|Y3Fn$U+vBub$QxW11#zrO!i=04(}F-IlM}$@ki-+-IbH5D|2CRB i7K;xX1wjRBVmrb0*N19mrpd0k88qKN?`QI}Uik&G$(iB+ diff --git a/Tools/CodeCheck/rules/AtlasNI2.rule b/Tools/CodeCheck/rules/AtlasNI2.rule deleted file mode 100755 index b8119706704d946bafb1126cc2011e417ccb88ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 318 zcmZ8d!Ab)$5S?UKrQi>U2j{3%itEjV9%NH+p{&?Nk4kLDZ6KSJY+}Kmuh|}oIF}h_ z-n@BlGB~MjtLYQ~ayVN`+qGn1Qq7Apb>{`}T0r)2S3uU%H%#8NGcssrA$w9Dt{#Jt z1NvwPoBAG0tc{^g8nm+4wo9~QD1iN*!NpGhNUvrieAYNcmFu_8k`1SfGr0UaevV-q z!x514L?hCP5`{zS0>*(*tF)`XH2DF;Mh5((PFvjRut8}tT9qbi=LxS@i<j4WwGcPJ l4w6zj7qm9gAM6aN`A<O`d~$G9z!-<Tkv#!_|482&%U|duT0{T< diff --git a/Tools/CodeCheck/rules/frame.htm b/Tools/CodeCheck/rules/frame.htm deleted file mode 100755 index 4e4e7e9d557..00000000000 --- a/Tools/CodeCheck/rules/frame.htm +++ /dev/null @@ -1,5 +0,0 @@ -<HTML><HEAD><TITLE>CodeWizard for C,C++</TITLE></HEAD> -<FRAMESET cols=30%,70%> -<frame src="index_number.htm" name="index"> -<frame src="sola.htm" name="rule"> -</FRAMESET></HTML> diff --git a/Tools/CodeCheck/rules/index_name.htm b/Tools/CodeCheck/rules/index_name.htm deleted file mode 100755 index 901d9b0b0e7..00000000000 --- a/Tools/CodeCheck/rules/index_name.htm +++ /dev/null @@ -1,5 +0,0 @@ -<TITLE>Rule Index</TITLE> -<A HREF="index_number.htm" target="index">Index by number</A><P> -<STRONG>Index by name</STRONG><P> -<P><A HREF="/pttools/CodeWizard/codewizard/rules/frame.htm" target="_top">Default Rules</A><BR></P> -<A HREF="sola.htm" target="rule">sola : 9001</A><BR> diff --git a/Tools/CodeCheck/rules/index_number.htm b/Tools/CodeCheck/rules/index_number.htm deleted file mode 100755 index 81b4619fed9..00000000000 --- a/Tools/CodeCheck/rules/index_number.htm +++ /dev/null @@ -1,5 +0,0 @@ -<TITLE>Rule Index</TITLE> -<A HREF="index_name.htm" target="index">Index by name</A><P> -<STRONG>Index by number</STRONG><P> -<P><A HREF="/pttools/CodeWizard/codewizard/rules/frame.htm" target="_top">Default Rules</A><BR></P> -<A HREF="sola.htm" target="rule">9001 : sola</A><BR> diff --git a/Tools/CodeCheck/rules/namingRules.txt b/Tools/CodeCheck/rules/namingRules.txt deleted file mode 100755 index 9704617edb8..00000000000 --- a/Tools/CodeCheck/rules/namingRules.txt +++ /dev/null @@ -1,15 +0,0 @@ -AtlasNI2.rule -AtlasNC1.rule -AtlasNC2.rule -AtlasNC5a.rule -AtlasNC5b.rule -AtlasNC5c.rule -AtlasNC6a.rule -AtlasNC6b.rule -AtlasNC6c.rule -AtlasNC6d.rule -AtlasNC7.rule - - - - diff --git a/Tools/CodeCheck/rules/psrc b/Tools/CodeCheck/rules/psrc deleted file mode 100755 index e0d4dc22236..00000000000 --- a/Tools/CodeCheck/rules/psrc +++ /dev/null @@ -1,105 +0,0 @@ -# psrcdump -v -a -# the above line will test the configuration "seen" by codewizard -# Uncomment the following line if you do NOT want the compiler to be called -# after analysis - codewizard.analyze_only on - -# by default the compiler called is g++ on LINUX -# but the following line will override this -#codewizard.compiler_cpp C++_COMPILERNAME -# CodeWizard will add the flags if necessary. -#codewizard.compiler_flags flags - -# the file for output -# overridden in the CodeCheck requirements file -codewizard.report_file codewizard.rpt - -# set the following to "off" to append to the output file -# You need to do this when you run codewizard on a complete package -# otherwise you get only the results for the last file checked -codewizard.report_overwrite off - -# insra is the codewizard gui -#codewizard.report_file insra - -# suppress all the codewizard rules by default - codewizard.suppress all - -# Then add back just the ones we want -# Atlas defined rules -# First say we want the user defined rules - codewizard.unsuppress item user-* -# Then tell codewizard where they are -# Give a text file which contains a list of rules -# namingRules.txt has 11 rules defined with RuleWizard -# which correspond to 5 of the Atlas coding rules -# the rules themselves must be files in the same directory as the list file -# For CMT use this is defined in the CMT requirements file -# codewizard.rulesdirlist namingRules.txt -# -# Now we just select the 21 rules which are -# built in to code wizard and which correspond to Atlas rules -# -# Atlas CF2 -codewizard.unsuppress item ucs35 -# Atlas CF5 -codewizard.unsuppress item ucs36 -# Atlas CL5 -codewizard.unsuppress item ecpp-13 -# Atlas CL6 -codewizard.unsuppress item ecpp-31 -# Atlas CL8 -codewizard.unsuppress item ecpp-11 -# Atlas CL9 -codewizard.unsuppress item ecpp-17 -# Atlas CC2 -codewizard.unsuppress item mecpp-2 -# Atlas CC3 -codewizard.unsuppress item ucs06 -# Atlas CI3 -codewizard.unsuppress item ecpp-22 -# Atlas CI4 -codewizard.unsuppress item ecpp-15 -# Atlas CI7 -codewizard.unsuppress item ucs18 -# Atlas CN1 -codewizard.unsuppress item ecpp-05 -# Atlas CB1 -codewizard.unsuppress item ecpp-20 -# Atlas CB2 -codewizard.unsuppress item ecpp-14 -# Atlas CB4 -codewizard.unsuppress item mecpp-24 -# Atlas CB5 -codewizard.unsuppress item ucs26 -# Atlas CA1 -codewizard.unsuppress item ecpp-03 -# Atlas CA2 -codewizard.unsuppress item ecpp-02 -# Atlas CA3 -codewizard.unsuppress item ucs22 -# Atlas CP7 -codewizard.unsuppress item ucs27 -# Atlas SG1 -codewizard.unsuppress item ucs08 - -# There are a lot of paths that we don't need to look at -# - codewizard.suppress_file /usr/local/gcc-alt-2.95.2/* - codewizard.suppress_file /afs/cern.ch/atlas/offline/* -# codewizard.suppress_file /afs/cern.ch/atlas/software/dist/* - codewizard.suppress_file /afs/cern.ch/sw/lhcxx/* -# -# And some files that can be ignored -codewizard.file_ignore *_load.cxx -codewizard.file_ignore *_entries.cxx -# -# This option gets over a problem in the g++ treatment of std namespace -codewizard.CompilerDeficient CanIgnoreStd - - - - - - - diff --git a/Tools/CodeCheck/rules/psrcPackage b/Tools/CodeCheck/rules/psrcPackage deleted file mode 100755 index 3ed6a145c37..00000000000 --- a/Tools/CodeCheck/rules/psrcPackage +++ /dev/null @@ -1,111 +0,0 @@ -# psrcdump -v -a -# the above line will test the configuration "seen" by codewizard -# Uncomment the following line if you do NOT want the compiler to be called -# after analysis - codewizard.analyze_only on - -# by default the compiler called is g++ on LINUX -# but the following line will override this -#codewizard.compiler_cpp C++_COMPILERNAME -# CodeWizard will add the flags if necessary. -#codewizard.compiler_flags flags - -# the file for output -# overridden in the CodeCheck requirements file -codewizard.report_file codewizard.rpt - -# set the following to "off" to append to the output file -# You need to do this when you run codewizard on a complete package -# otherwise you get only the results for the last file checked -codewizard.report_overwrite off - -# insra is the codewizard gui -#codewizard.report_file insra - -# suppress all the codewizard rules by default - codewizard.suppress all - -# Then add back just the ones we want -# Atlas defined rules -# First say we want the user defined rules - codewizard.unsuppress item user-* -# Then tell codewizard where they are -# Give a text file which contains a list of rules -# namingRules.txt has 11 rules defined with RuleWizard -# which correspond to 5 of the Atlas coding rules -# the rules themselves must be files in the same directory as the list file -# For CMT use this is defined in the CMT requirements file -# codewizard.rulesdirlist namingRules.txt -# -# Now we just select the 21 rules which are -# built in to code wizard and which correspond to Atlas rules -# -# Atlas CF2 -codewizard.unsuppress item ucs35 -# Atlas CF5 -codewizard.unsuppress item ucs36 -# Atlas CL5 -codewizard.unsuppress item ecpp-13 -# Atlas CL6 -codewizard.unsuppress item ecpp-31 -# Atlas CL8 -codewizard.unsuppress item ecpp-11 -# Atlas CL9 -codewizard.unsuppress item ecpp-17 -# Atlas CC2 -codewizard.unsuppress item mecpp-2 -# Atlas CC3 -codewizard.unsuppress item ucs06 -# Atlas CI3 -codewizard.unsuppress item ecpp-22 -# Atlas CI4 -codewizard.unsuppress item ecpp-15 -# Atlas CI7 -codewizard.unsuppress item ucs18 -# Atlas CN1 -codewizard.unsuppress item ecpp-05 -# Atlas CB1 -codewizard.unsuppress item ecpp-20 -# Atlas CB2 -codewizard.unsuppress item ecpp-14 -# Atlas CB4 -codewizard.unsuppress item mecpp-24 -# Atlas CB5 -codewizard.unsuppress item ucs26 -# Atlas CA1 -codewizard.unsuppress item ecpp-03 -# Atlas CA2 -codewizard.unsuppress item ecpp-02 -# Atlas CA3 -codewizard.unsuppress item ucs22 -# Atlas CP7 -codewizard.unsuppress item ucs27 -# Atlas SG1 -codewizard.unsuppress item ucs08 - -# There are a lot of paths that we don't need to look at -# - codewizard.suppress_file /usr/local/gcc-alt-2.95.2/* - codewizard.suppress_file /usr/local/gcc-alt-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/* - codewizard.suppress_file /afs/cern.ch/atlas/offline/* - codewizard.suppress_file /afs/cern.ch/sw/lhcxx/* - -# this line should be commented out if you want to use codewizard on a whole release - codewizard.suppress_file /afs/cern.ch/atlas/software/dist/* - - - -# -# And some files that can be ignored -codewizard.file_ignore *_load.cxx -codewizard.file_ignore *_entries.cxx -# -# This option gets over a problem in the g++ treatment of std namespace -codewizard.CompilerDeficient CanIgnoreStd - - - - - - - diff --git a/Tools/CodeCheck/rules/psrcRelease b/Tools/CodeCheck/rules/psrcRelease deleted file mode 100755 index a233c0996f6..00000000000 --- a/Tools/CodeCheck/rules/psrcRelease +++ /dev/null @@ -1,108 +0,0 @@ -# psrcdump -v -a -# the above line will test the configuration "seen" by codewizard -# Uncomment the following line if you do NOT want the compiler to be called -# after analysis - codewizard.analyze_only on - -# by default the compiler called is g++ on LINUX -# but the following line will override this -#codewizard.compiler_cpp C++_COMPILERNAME -# CodeWizard will add the flags if necessary. -#codewizard.compiler_flags flags - -# the file for output -# overridden in the CodeCheck requirements file -codewizard.report_file codewizard.rpt - -# set the following to "off" to append to the output file -# You need to do this when you run codewizard on a complete package -# otherwise you get only the results for the last file checked -codewizard.report_overwrite off - -# insra is the codewizard gui -#codewizard.report_file insra - -# suppress all the codewizard rules by default - codewizard.suppress all - -# Then add back just the ones we want -# Atlas defined rules -# First say we want the user defined rules - codewizard.unsuppress item user-* -# Then tell codewizard where they are -# Give a text file which contains a list of rules -# namingRules.txt has 11 rules defined with RuleWizard -# which correspond to 5 of the Atlas coding rules -# the rules themselves must be files in the same directory as the list file -# For CMT use this is defined in the CMT requirements file -# codewizard.rulesdirlist namingRules.txt -# -# Now we just select the 21 rules which are -# built in to code wizard and which correspond to Atlas rules -# -# Atlas CF2 -codewizard.unsuppress item ucs35 -# Atlas CF5 -codewizard.unsuppress item ucs36 -# Atlas CL5 -codewizard.unsuppress item ecpp-13 -# Atlas CL6 -codewizard.unsuppress item ecpp-31 -# Atlas CL8 -codewizard.unsuppress item ecpp-11 -# Atlas CL9 -codewizard.unsuppress item ecpp-17 -# Atlas CC2 -codewizard.unsuppress item mecpp-2 -# Atlas CC3 -codewizard.unsuppress item ucs06 -# Atlas CI3 -codewizard.unsuppress item ecpp-22 -# Atlas CI4 -codewizard.unsuppress item ecpp-15 -# Atlas CI7 -codewizard.unsuppress item ucs18 -# Atlas CN1 -codewizard.unsuppress item ecpp-05 -# Atlas CB1 -codewizard.unsuppress item ecpp-20 -# Atlas CB2 -codewizard.unsuppress item ecpp-14 -# Atlas CB4 -codewizard.unsuppress item mecpp-24 -# Atlas CB5 -codewizard.unsuppress item ucs26 -# Atlas CA1 -codewizard.unsuppress item ecpp-03 -# Atlas CA2 -codewizard.unsuppress item ecpp-02 -# Atlas CA3 -codewizard.unsuppress item ucs22 -# Atlas CP7 -codewizard.unsuppress item ucs27 -# Atlas SG1 -codewizard.unsuppress item ucs08 - -# There are a lot of paths that we don't need to look at -# - codewizard.suppress_file /usr/local/gcc-alt-2.95.2/* -# codewizard.suppress_file /usr/local/gcc-alt-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/* - codewizard.suppress_file /afs/cern.ch/atlas/offline/* - codewizard.suppress_file /afs/cern.ch/sw/lhcxx/* - -# This line must be commented out for a whole release -# codewizard.suppress_file /afs/cern.ch/atlas/software/dist/* -# -# And some files that can be ignored -codewizard.file_ignore *_load.cxx -codewizard.file_ignore *_entries.cxx -# -# This option gets over a problem in the g++ treatment of std namespace -codewizard.CompilerDeficient CanIgnoreStd - - - - - - - diff --git a/Tools/CodeCheck/share/truncate.py b/Tools/CodeCheck/share/truncate.py deleted file mode 100755 index 12361591d96..00000000000 --- a/Tools/CodeCheck/share/truncate.py +++ /dev/null @@ -1,57 +0,0 @@ -import sys -import os -from os.path import join -import string -from getopt import getopt, GetoptError - -def test(): - lines = [] - lines.append(' library -s/absolute/somewhere -a=option xxxx yyyy\n') - lines.append('a line that does not interest us\n') - lines.append(' library -s/absolute/somewhereElse -a=option aaa\n') - doit(lines) - -def notest(): - lines = os.popen('cmt show constituents').readlines() - doit(lines) - -def getSourceDirectory(tokens): - sDir = '' - for token in tokens: - if token.startswith('-s'): sDir = token[2:] - return sDir - -def doit(lines): - files = '' # the final list of files - for line in lines: - tokens = string.split(line) # split line into tokens - tokens = [string.strip(token) for token in tokens] # clean-up whitespace - if tokens[0] != 'library': continue # a library? - # get the source dir if any (given by '-s=sDir') - sDir = getSourceDirectory(tokens) - # remove option tokens (have form '-o=xxxx'. first token is 'library', second is - # library name - so start from the third - tokens = [join(sDir,token) for token in tokens[2:] if not token.startswith('-')] - # accumulate the list of files from the different libraries - files += string.join(tokens)+' ' - - print files # output the list by printing it - -if __name__ == '__main__': - try: - opts,args = getopt(sys.argv[1:], 't') - except GetoptError: - print 'unknown option(s)', opt, args - - testMode = False - for o,a in opts: - print o - print a - if o == '-t': testMode=True - - if testMode: - print 'testing' - test() - else: - notest() - -- GitLab