From 6a13f4f308cd742c4c338122c5dcddcc5385b7d8 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 29 Sep 2016 04:40:50 -0400 Subject: [PATCH] Add coverity-windows.txt script and instructions --- TestScripts/coverity-linux.txt | 2 +- TestScripts/coverity-windows.txt | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 TestScripts/coverity-windows.txt diff --git a/TestScripts/coverity-linux.txt b/TestScripts/coverity-linux.txt index 2278b7a2..9d5d6103 100644 --- a/TestScripts/coverity-linux.txt +++ b/TestScripts/coverity-linux.txt @@ -2,7 +2,7 @@ The following are copy/paste instructions for invoking cov-build, building the l For more information see http://cryptopp.com/wiki/Coverity_Scan. -############################################## +################################################################ reset diff --git a/TestScripts/coverity-windows.txt b/TestScripts/coverity-windows.txt new file mode 100644 index 00000000..9d3d7e2f --- /dev/null +++ b/TestScripts/coverity-windows.txt @@ -0,0 +1,25 @@ +The following are copy/paste instructions for invoking cov-build, building the library and submitting the artifacts for a scan. + +For more information see http://cryptopp.com/wiki/Coverity_Scan. + +################################################################ + +cls + +nmake /f cryptest.nmake clean + +# Uncomment CXXFLAGS in makefile. Pay attention to X86, X64 or ARM +cov-build.exe --dir cov-int nmake /f cryptest.nmake + +7z.exe a -r -tzip cryptopp.zip cov-int + +set CRYPTOPP_COVERITY_TOKEN=XXXXXXXXXXXXXXXX +set COVERITY_SCAN_NAME=Rijndael-AliasedTable-SSE2-Windows-X64 + +curl.exe ^ + --form token="%CRYPTOPP_COVERITY_TOKEN%" ^ + --form email=webmaster@cryptopp.com ^ + --form file=@cryptopp.zip ^ + --form version="%COVERITY_SCAN_NAME%" ^ + --form description="%COVERITY_SCAN_NAME%" ^ +https://scan.coverity.com/builds?project=Cryptopp