summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'server-refactor'Brad King2017-09-013-0/+107
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e4d5033 server: Added thread check to protect writedata 124424e9 server: Protect several fields from potentially pointing to bad memory 693fa0a9 server: Added assert to monitor uv_run status 882dcef8 server: Made connections in a server have a mutex to avoid use after frees 7ef28843 server: Moved buffer formatting into bufferstrategy dc7a18d8 server: test buffer parsing f8fd5a97 server: Made stdio connection accept different types of streams 6afc7f88 server: Remove unused fields / functions ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1111
| * server: test buffer parsingJustin Berger2017-08-313-0/+107
| |
* | Merge topic 'tll-global-unknown-lib'Brad King2017-09-012-0/+5
|\ \ | | | | | | | | | | | | | | | | | | a47a8533 target_link_libraries: Allow linking to UNKNOWN IMPORTED GLOBAL libs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1220
| * | target_link_libraries: Allow linking to UNKNOWN IMPORTED GLOBAL libsBrad King2017-08-312-0/+5
| |/ | | | | | | | | | | This combination was accidentally rejected. Allow it and add a test. Fixes: #17245
* | Merge topic 'fix-genex-SOURCES'Brad King2017-09-015-0/+15
|\ \ | |/ |/| | | | | | | | | 068cc545 Genex: Fix TARGET_PROPERTY value of SOURCES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1218
| * Genex: Fix TARGET_PROPERTY value of SOURCESBrad King2017-09-015-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.8.0-rc1~445^2~2 (cmTarget: Move sanity checks and computed property access to callers, 2016-10-13) exposed a typo in commit v3.8.0-rc1~445^2~3 (cmGeneratorTarget: Implement cmTargetPropertyComputer interface, 2016-10-13). Together they broke the `$<TARGET_PROPERTY:mytgt,SOURCES>` generator expression in the case that the `SOURCES` target property is populated in part by the `target_sources` command. Add the missing `;`-separator. Fixes: #17243
* | Merge topic 'cxx11-clang-format'Brad King2017-08-315-29/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | 4022b286 clang-tidy: blacklist "modernize" checks 2b4c32c9 clang-format: format all code as Cpp11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1191
| * | clang-format: format all code as Cpp11Daniel Pfeifer2017-08-305-29/+12
| | |
* | | Merge topic 'test-server-result'Brad King2017-08-312-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ea359bc5 Tests: Teach Server test to print server return code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1212
| * | | Tests: Teach Server test to print server return codeBrad King2017-08-302-1/+2
| |/ / | | | | | | | | | This will aid in diagnosing failures.
* | | Merge topic 'lexer-null'Brad King2017-08-314-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 14d9a11b ListFileLexer: fix heap-buffer-overflow on malicious input Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1153
| * | ListFileLexer: fix heap-buffer-overflow on malicious inputMatthias Maennich2017-08-304-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case a list file contains a null terminated string that is continued until a later space, the lexer token information got inconsistent: e.g. an argument "TEST\0FOOBAR" is passed by the lexer as a token char* = "TEST\0FOOBAR" and length 11 ^^ note: ascii 0x00 Using strdup in cmListFileLexer leads lexer->token.text to be allocated with size 5 and lexer->token.length to be set to 11 A subsequent call to this function with an argument of 5 < length <= 11 wrongly assumed a sufficiently sized buffer and therefore corrupted the heap buffer. The program might crash due to this corruption. The case "NullTerminatedArgument" is intentionally using a quite large 'rest' to increase the chance to actually hit the issue. It will reliably crash with address sanitizer enabled though. This fix addresses all rules where arbitrary characters are matched to ignore \0 in order to fall through to the rule that matches an arbitrary character as BadCharacter. Signed-off-by: Matthias Maennich <matthias@maennich.net>
* | | Merge topic 'add-cppcheck'Brad King2017-08-3015-1/+74
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 311b7b1a Add properties to run cppcheck along with the compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1147
| * | | Add properties to run cppcheck along with the compilerBill Hoffman2017-08-3015-1/+74
| |/ / | | | | | | | | | | | | | | | Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.
* | | Merge topic 'fix-find-package-mode'Brad King2017-08-301-0/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 18454ea4 cmake: Fix --find-package mode with imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1208
| * | cmake: Fix --find-package mode with imported targetsBrad King2017-08-291-0/+2
| |/ | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~116^2~6 (cmakemain: use script role for -P, 2017-05-11) accidentally left project commands out of find-package mode, causing packages that provide imported targets to break. Fixes: #17124
* | Merge topic 'no-crlf-blobs'Brad King2017-08-3020-1043/+1043
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | ebc91a44 Avoid CRLF newlines in Git repo blobs c69b4c8d bzip2: Drop unused .dsp files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1211
| * | Avoid CRLF newlines in Git repo blobsBrad King2017-08-3020-1043/+1043
| | | | | | | | | | | | | | | | | | | | | | | | In commit 8ed03baa76 (gitattributes: prefer `eol=crlf` to `-crlf`, 2017-08-23) we left a few CRLF blobs in the repository. Some Git versions get confused by text files with CRLF blobs. Convert them to LF blobs. Use the `eol=crlf` attribute to tell Git to use CRLF on checkout.
* | | Merge topic 'cstyle-casts'Daniel Pfeifer2017-08-301-2/+3
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 190e3825 Replace C-style casts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1176
| * | Replace C-style castsDaniel Pfeifer2017-08-271-2/+3
| | |
* | | Merge topic 'test-fix-vs15-toolset-v90'Brad King2017-08-281-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ce602feb Tests: Fix RunCMake.BuildDepends on VS 2017 with v90 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1186
| * | | Tests: Fix RunCMake.BuildDepends on VS 2017 with v90 toolsetBrad King2017-08-251-1/+2
| | | | | | | | | | | | | | | | | | | | The MSVC toolsets v100 and below forget to re-link when a manifest changes. Exclude this part of the test case for them.
* | | | Merge topic 'server-cxx11'Daniel Pfeifer2017-08-271-7/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d87fbd CTestCustom: Suppress exception loosening warning 7f29bbe6 server: always enable server 4614a3b2 server: backport to C++11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1149
| * | | | server: always enable serverDaniel Pfeifer2017-08-261-7/+5
| | |/ / | |/| |
* | | | IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-262-2/+2
|/ / / | | | | | | | | | Also remove `#include "cmConfigure.h"` from most source files.
* | | Merge topic 'cxx11-nullptr'Brad King2017-08-252-3/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5962db43 Use C++11 nullptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1175
| * | | Use C++11 nullptrDaniel Pfeifer2017-08-242-3/+2
| | | |
* | | | Merge topic 'modernize-git-whitespace-attributes'Brad King2017-08-2512-17/+10
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ed03baa gitattributes: prefer `eol=crlf` to `-crlf` 40470031 MumpsCoverage: remove unnecessary attribute d20485d8 gitattributes: prefer `eol=lf` to `crlf=input` b85c2589 gitattributes: prefer `-text` for binary files 377f3685 gitattributes: remove unused attributes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1173
| * | | gitattributes: prefer `eol=crlf` to `-crlf`Ben Boeckel2017-08-235-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | The `crlf` attribute is deprecated in Git. This also changes the given files to be in the index using LF newlines, but they will be checked out with CRLF newlines due to the attribute.
| * | | MumpsCoverage: remove unnecessary attributeBen Boeckel2017-08-231-1/+0
| | | | | | | | | | | | | | | | The file has Unix newline endings.
| * | | gitattributes: prefer `eol=lf` to `crlf=input`Ben Boeckel2017-08-231-1/+1
| | | | | | | | | | | | | | | | The `crlf` attribute is deprecated in Git.
| * | | gitattributes: prefer `-text` for binary filesBen Boeckel2017-08-236-5/+5
| | | |
* | | | Merge topic 'ipo-test-output'Brad King2017-08-243-6/+9
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 6756b552 Tests: Print more info on CheckIPOSupported test failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1177
| * | | Tests: Print more info on CheckIPOSupported test failureBrad King2017-08-233-6/+9
| |/ /
* | | Autogen: Fix and extend SKIP_AUTOMOC testSebastian Holtermann2017-08-225-4/+59
|/ /
* | Merge topic 'cpack-extend-test-capabilities'Brad King2017-08-212-0/+9
|\ \ | | | | | | | | | | | | | | | | | | 80047bd6 CPack: extend testing framework Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1162
| * | CPack: extend testing frameworkDomen Vrankar2017-08-192-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some CPack tests require running commands after the inclusion of CPack.cmake and this patch enables such tests to declare run_after_include_cpack function which is run after the inclusion.
* | | Autogen: Add test for AUTOMOC_MACRO_NAMESSebastian Holtermann2017-08-185-0/+52
|/ /
* | Merge topic 'string_prepend'Brad King2017-08-165-0/+67
|\ \ | | | | | | | | | | | | | | | | | | d8ecc254 Add PREPEND sub-command to string command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1129
| * | Add PREPEND sub-command to string commandSylvain Joubert2017-08-115-0/+67
| | |
* | | Merge branch 'backport-autogen-autouic-lookup' into autogen-autouic-lookupBrad King2017-08-156-1/+105
|\ \ \
| * | | Autogen: Extend AUTOUIC search paths testSebastian Holtermann2017-08-156-1/+105
| | |/ | |/|
| * | Merge branch 'find-package_root-disable' into release-3.9Brad King2017-08-103-0/+3
| |\ \ | | | | | | | | | | | | Merge-request: !1116
* | | | Server: test cache after reconnectDaniel Pfeifer2017-08-135-15/+77
| | | |
* | | | Merge topic 'autogen-merge-redundant'Brad King2017-08-118-0/+93
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15ef2728 Autogen: Add test for OBJECT libraries 362f9bd7 Autogen: Merge and remove redundant function calls 952fc65d Autogen: Clear sources meta data cache Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1120
| * | | | Autogen: Add test for OBJECT librariesSebastian Holtermann2017-08-108-0/+93
| | |_|/ | |/| |
* | | | Merge topic 'genex-COMPILE_FEATURES-stds'Brad King2017-08-112-0/+20
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 4f7d9eef Features: Fix COMPILE_FEATURES genex for C++ 14 and 17 features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1118
| * | | Features: Fix COMPILE_FEATURES genex for C++ 14 and 17 featuresBrad King2017-08-082-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | When `CXX_STANDARD` is not at least 14 or 17, features enabled by the compiler for those standards should not be reported as existing by the `COMPILE_FEATURES` genex. Fix the implementation and add a test.
* | | | Merge topic 'find-package_root-test-regex'Brad King2017-08-106-465/+480
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | e574bce1 Tests: Simplify RunCMake.find_package PackageRoot case regexes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Chuck Atkins <chuck.atkins@kitware.com> Merge-request: !1115
| * | | Tests: Simplify RunCMake.find_package PackageRoot case regexesBrad King2017-08-086-465/+480
| | | |