summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ninja-multi-long-command-line-config'Brad King2021-05-033-0/+12
|\ | | | | | | | | | | | | ad08f93ee4 Ninja Multi-Config: Split long command lines by config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6067
| * Ninja Multi-Config: Split long command lines by configKyle Edwards2021-04-303-0/+12
| | | | | | | | Fixes: #22123
* | Merge topic 'foreach-loop-variable'Brad King2021-05-033-0/+106
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 46896d98bb foreach(): loop variables are only available in the loop scope Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6044
| * | foreach(): loop variables are only available in the loop scopeMarc Chevrier2021-04-283-0/+106
| | | | | | | | | | | | Fixes: #20553
* | | Merge topic 'test-ifort-windows'Brad King2021-04-291-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 82470e24ae Tests: Fix FortranOnly test with Intel compiler on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6058
| * | | Tests: Fix FortranOnly test with Intel compiler on WindowsBrad King2021-04-281-0/+5
| |/ / | | | | | | | | | | | | The test regularly fails updating the `vc*.pdb` compiler-generated PDB file. Add the `/Z7` flag as the compiler suggests for this.
* | | Merge topic 'test-GEH-vs6'Brad King2021-04-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d59afbd92e Tests: Fix RunCMake.GenerateExportHeader use of size_t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6059
| * | | Tests: Fix RunCMake.GenerateExportHeader use of size_tBrad King2021-04-281-1/+1
| |/ / | | | | | | | | | | | | | | | | | | Since commit ddcd1469e8 (MSYS: Add support for running under MSYS runtime environment, 2021-04-01) the test uses `std::size_t` without including `<cstddef>`. Also, the type does not exist under `std::` on VS 6. Use just `size_t` instead.
* | | Merge topic 'test_driver_tap13_support'Brad King2021-04-291-4/+32
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | 3f6ff4b5db create_test_sourcelist: add test driver option to run all tests a3aa5596a1 Tests: Isolate TestDriver build directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3661
| * | create_test_sourcelist: add test driver option to run all testsSergey Bronnikov2021-04-281-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New option `-A` passed to test binary allows to run all testcases at once and prints a report in a standard format - TestAnythingProtocol v.13 [1]. Execution of test whose names will be passed after an option will be skipped. Sample of output: TAP version 13 1..6 ok 1 TestCryptoHash # 0.030000 ok 2 TestCryptoRand # 0.008000 not ok 3 TestCryptoCipher # 0.005000 ok 4 TestCryptoProtectData # 0.000000 cbPlainText: 21 cbCipherText: 32 PlainText: MySecretPassword123! (cbPlainText = 21, cbCipherText = 32) Decrypted CipherText: MySecretPassword123! ok 5 TestCryptoProtectMemory # 0.014000 ok 6 TestCryptoCertEnumCertificatesInStore # 0.000000 1. https://testanything.org/ Fixes: #19367
| * | Tests: Isolate TestDriver build directoriesBrad King2021-04-281-4/+6
| | |
* | | Tests: Add cases for CTest extra measurements from testsZack Galbreath2021-04-273-1/+36
| | |
* | | Merge topic 'ctest_junit'Brad King2021-04-276-0/+84
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25bf514447 ctest: Add support for writing test results in JUnit XML format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Acked-by: MvdHurk <maikelvandenhurk@hotmail.com> Acked-by: Alexander Richardson <arichardson.kde@gmail.com> Merge-request: !6020
| * | | ctest: Add support for writing test results in JUnit XML formatZack Galbreath2021-04-266-0/+84
| | | | | | | | | | | | | | | | Addresses #18654
* | | | MSYS: Add support for running under MSYS runtime environmentOrgad Shaneh2021-04-2639-54/+194
| |/ / |/| | | | | | | | Detect MSYS as CYGWIN, with the required adaptations.
* | | Merge topic 'SWIG'Brad King2021-04-261-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e3e005dbd8 UseSWIG: use swig dependencies for Xcode generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6042
| * | | UseSWIG: use swig dependencies for Xcode generatorMarc Chevrier2021-04-231-1/+2
| | | |
* | | | Merge topic 'xcode_app_extensions'Brad King2021-04-2613-40/+122
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb5e33ba47 Xcode: Add support for embedding app extensions f62a2bf44f Tests: Factor out XcodeProject-Embed check function findAttribute() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5934
| * | | | Xcode: Add support for embedding app extensionsAlexander Akhundzhanov2021-04-229-1/+94
| | | | | | | | | | | | | | | | | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
| * | | | Tests: Factor out XcodeProject-Embed check function findAttribute()Craig Scott2021-04-114-39/+28
| | | | |
* | | | | Merge topic 'lzma-threads'Brad King2021-04-261-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c130e675 cmArchiveWrite: Consolidate multiple ways to set thread count 5380d858ff liblzma: Enable multi threaded stream encoding support e9065e96dc Merge branch 'upstream-liblzma' into lzma-threads ee909a8e8b liblzma 2020-03-17 (2327a461) 741b85b42b liblzma: Revise update script to get version 5.2.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6014
| * | | | | cmArchiveWrite: Consolidate multiple ways to set thread countNils Gladitz2021-04-221-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge use of SetFilterOption() into more abstract thread count in cmArchiveWrite constructor. libarchive defaulting of threads for threads == 0 seems to be configuration dependent. Preemptively default thread count via std::thread::hardware_concurrency(). Also allow negative values for the thread count in which case the detected hardware concurrency is also used but the given absolute thread count is used as an upper limit.
* | | | | Merge topic 'autogen-moc-version'Brad King2021-04-263-0/+36
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b0ea5874a AutoGen: Retrieve Qt version from moc as fallback Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6027
| * | | | | AutoGen: Retrieve Qt version from moc as fallbackJoerg Bornemann2021-04-233-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consider the case where the find_package call for QtCore is wrapped in a function call. Then AutoGen cannot determine the Qt version, because it only looks at variables and directory properties. The former don't leave the function scope and the latter are not set by default. As a fallback, locate the moc executable via its target and call it with the --version argument to determine the Qt version. Issue: #22028
* | | | | | Merge topic 'file-REAL_PATH-EXPAND_TILDE'Brad King2021-04-262-12/+35
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4b793c614 file(REAL_PATH): add option EXPAND_TILDE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6033
| * | | | | | file(REAL_PATH): add option EXPAND_TILDEMarc Chevrier2021-04-212-12/+35
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | This option enables the replacement of any leading tilde with the path to the user's home directory.
* | | | | | Merge topic 'ninja-multi-custom-target-post-build'Brad King2021-04-263-0/+14
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | f8e2a74712 Ninja Multi-Config: Correctly generate POST_BUILD custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6040
| * | | | Ninja Multi-Config: Correctly generate POST_BUILD custom targetsKyle Edwards2021-04-223-0/+14
| | | | | | | | | | | | | | | | | | | | Fixes: #22096
* | | | | Tests: Improve RunCMake.CPack* test error formattingBrad King2021-04-221-13/+23
| |_|/ / |/| | | | | | | | | | | Format message content for `message(FATAL_ERROR)`.
* | | | Find{BLAS,LAPACK}: Add test case covering BLA_STATIC with Intel MKLBrad King2021-04-212-2/+2
| | | |
* | | | Find{BLAS,LAPACK}: Add test case covering BLA_STATIC with Generic vendorBrad King2021-04-212-0/+26
| | | |
* | | | Merge topic 'autogen-clear-early-source-cache'Brad King2021-04-212-0/+11
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | b84f1e6159 Autogen: Restore mocs_compilation in OBJECT libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6024
| * | Autogen: Restore mocs_compilation in OBJECT librariesBrad King2021-04-202-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit f65f20938c (Autogen: Avoid processing CSharp targets, 2020-11-12, v3.20.0-rc1~301^2) we collect all sources for a target earlier than previously. Clear the sources cache so that it will be re-computed later after AUTOGEN processing. Fixes: #22085
* | | Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-202-3/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 253aff6c94 Xcode: Add support of DEPFILE for add_custom_command, part 2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6015
| * | | Xcode: Add support of DEPFILE for add_custom_command, part 2Marc Chevrier2021-04-172-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | This MR extend the support of 'DEPFILE' to buildsystem version 1. Issue: #20286
* | | | Merge topic 'tests-clang-analyzer'Brad King2021-04-191-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae2c24b0ba Tests: Fix warning clang-analyzer-cplusplus.NewDeleteLeaks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6010
| * | | | Tests: Fix warning clang-analyzer-cplusplus.NewDeleteLeaksnic-kaczinsky2021-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | Fix the warning: `potential leak of memory pointed to by "vp"`.
* | | | | Merge topic 'mrjoel/add-missing-not'Brad King2021-04-191-1/+1
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | 370bebd921 Add missing 'not' in error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6012
| * | | Add missing 'not' in error messagesJoel Johnson2021-04-161-1/+1
| | | |
* | | | Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-162-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d67cc4882d Xcode: Add support of DEPFILE for add_custom_command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6006
| * | | | Xcode: Add support of DEPFILE for add_custom_commandMarc Chevrier2021-04-152-1/+3
| | | | | | | | | | | | | | | | | | | | Issue: #20286
* | | | | Merge topic 'add_toolchain_cmake_option'Brad King2021-04-1611-1/+36
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5c3e4ac32 cmake: add support for --toolchain command argument 13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5991
| * | | | cmake: add support for --toolchain command argumentRobert Maynard2021-04-1511-1/+36
| | | | |
* | | | | Find{BLAS,LAPACK}: Add test case covering Intel MKLBrad King2021-04-144-20/+36
| |/ / / |/| | |
* | | | Genex: add_custom_command: DEPFILE supports genexMarc Chevrier2021-04-126-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | This facility is very useful for 'Ninja Multi-Config' and required as well for future support of DEPFILE in 'Xcode' and 'Visual Studio' generators (#20286).
* | | | Merge topic 'presets-optional-generator-and-builddir'Brad King2021-04-085-0/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06e6981336 cmake-presets: Make generator and binaryDir fields optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5946
| * | | | cmake-presets: Make generator and binaryDir fields optionalfriendlyanon2021-04-065-0/+29
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v3 of the presets, generator and buildDir can be omitted to fall back to regular cmake behavior when these values are not explicitly provided by the user. Fixes: #21987
* | | | Merge topic 'ctest-wait-verbosity'Brad King2021-04-0813-15/+108
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82e40607a4 ctest: Display test "WAITING" messages only in extra-verbose mode 80da23f2a2 Tests: Add RunCTest helper option to control CTest verbose flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5990
| * | | | ctest: Display test "WAITING" messages only in extra-verbose modeBrad King2021-04-0612-14/+104
| | | | | | | | | | | | | | | | | | | | | | | | | These messages are incidental scheduling output. Avoid cluttering the normal verbose output showing tests starting and finishing.
| * | | | Tests: Add RunCTest helper option to control CTest verbose flagBrad King2021-04-061-1/+4
| |/ / /