Merge remote-tracking branch 'origin/develop'
git@2bbc39033a74d2b22ece3d6e955bf00a43b36b6d
https://github.com/srz-zumix/iutest/commit/2bbc39033a74d2b22ece3d6e955bf00a43b36b6d
@@ -141,12 +141,12 @@ | ||
141 | 141 | |[GitHub Actions reviewdog](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"GitHub+Actions+reviewdog")|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHub+Actions+-+reviewdog%22+branch%3Amaster)||Reviewdog (shellcheck, cpplint)| |
142 | 142 | |[GitHub Actions Update GitHubPages](https://github.com/srz-zumix/iutest/actions?query=workflow%3A"GitHubPages")|[](https://github.com/srz-zumix/iutest/actions?query=workflow%3A%22GitHubPages%22+branch%3Amaster)||Update documents| |
143 | 143 | |[GitLab CI](https://about.gitlab.com/product/continuous-integration/)|[](https://gitlab.com/srz-zumix/iutest-test/commits/master)|[](https://gitlab.com/srz-zumix/iutest-test/commits/develop)|Google Test/Google Mock compatibility (HEAD)| |
144 | +|[JFrog Pipelines](https://zumix.jfrog.io/ui/pipelines/myPipelines/default/iutest_centos_basic_test)| | |CentOS gcc/clang Baisc test| | |
144 | 145 | |[Peakflow](https://www.peakflow.io)|[](https://www.peakflow.io/en/projects/iutest/build-groups?build_groups_q%5Bbranch_name_cont%5D=master)|[](https://www.peakflow.io/en/projects/iutest/build-groups?build_groups_q%5Bbranch_name_cont%5D=develop)|fused-src tests| |
145 | 146 | |[Razorops](https://razorops.com/)|[](https://dashboard.razorops.com/apps/long-flower-9433/workflows)|[](https://dashboard.razorops.com/apps/long-flower-9433/workflows)|CentOS7 Basic test| |
146 | 147 | |[Scrutinizer](https://scrutinizer-ci.com/)|[](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/master)|[](https://scrutinizer-ci.com/g/srz-zumix/iutest/build-status/develop)|iuwandbox tests| |
147 | 148 | |[Semaphore](https://semaphoreci.com/)|[](https://semaphoreci.com/srz_zumix/iutest)|[](https://semaphoreci.com/srz_zumix/iutest)|Scan-build| |
148 | 149 | |[Semaphore 2.0](https://semaphoreci.com/)|[](https://srz-zumix.semaphoreci.com/projects/iutest)|[](https://srz-zumix.semaphoreci.com/projects/iutest)|Scan-build, Basic test, sample run| |
149 | -|[Shippable](https://shippable.com/)|[](https://app.shippable.com/github/srz-zumix/iutest)|[](https://app.shippable.com/github/srz-zumix/iutest)|CentOS gcc/clang Baisc test| | |
150 | 150 | |[TeamCity Cloud](https://www.jetbrains.com/teamcity/cloud/)|[](https://iutest.beta.teamcity.com/viewType.html?buildTypeId=Iutest_GoogleTestCompatibleTest&guest=1)||Google Test compatible test for released versions| |
151 | 151 | |[TeamCity Cloud](https://www.jetbrains.com/teamcity/cloud/)|[](https://iutest.beta.teamcity.com/viewType.html?buildTypeId=Iutest_GoogleMockCompatibleTest&guest=1)||Google Mock compatible test for released versions| |
152 | 152 | |[Travis CI](https://travis-ci.com/)|[](https://travis-ci.com/srz-zumix/iutest)|[](https://travis-ci.com/srz-zumix/iutest)|Basic tests, Coverity-scan| |
@@ -444,31 +444,6 @@ | ||
444 | 444 | # define IUTEST_HAS_HDR_CXXABI 0 |
445 | 445 | #endif |
446 | 446 | |
447 | -//====================================================================== | |
448 | -// include | |
449 | -#include <iterator> | |
450 | - | |
451 | -#if IUTEST_HAS_CXX_HDR_ANY | |
452 | -# include <any> | |
453 | -#endif | |
454 | -#if IUTEST_HAS_CXX_HDR_CSTDINT | |
455 | -# include <cstdint> | |
456 | -#endif | |
457 | -#if IUTEST_HAS_CXX_HDR_FILESYSTEM | |
458 | -# include <filesystem> | |
459 | -#endif | |
460 | -#if IUTEST_HAS_CXX_HDR_OPTIONAL | |
461 | -# include <optional> | |
462 | -#endif | |
463 | -#if IUTEST_HAS_CXX_HDR_VARIANT | |
464 | -# include <variant> | |
465 | -#endif | |
466 | -#if IUTEST_HAS_CXX_HDR_CHARCONV | |
467 | -# include <charconv> | |
468 | -#endif | |
469 | - | |
470 | -//====================================================================== | |
471 | -// define | |
472 | 447 | #if !defined(IUTEST_HAS_STD_FILESYSTEM) |
473 | 448 | # if defined(ANDROID) || defined(__ANDROID__) || defined(__ARM_EABI__) |
474 | 449 | # define IUTEST_HAS_STD_FILESYSTEM 0 |
@@ -662,4 +637,27 @@ | ||
662 | 637 | # endif |
663 | 638 | #endif |
664 | 639 | |
640 | +//====================================================================== | |
641 | +// include | |
642 | +#include <iterator> | |
643 | + | |
644 | +#if IUTEST_HAS_CXX_HDR_ANY | |
645 | +# include <any> | |
646 | +#endif | |
647 | +#if IUTEST_HAS_CXX_HDR_CSTDINT | |
648 | +# include <cstdint> | |
649 | +#endif | |
650 | +#if IUTEST_HAS_CXX_HDR_FILESYSTEM && IUTEST_HAS_STD_FILESYSTEM | |
651 | +# include <filesystem> | |
652 | +#endif | |
653 | +#if IUTEST_HAS_CXX_HDR_OPTIONAL | |
654 | +# include <optional> | |
655 | +#endif | |
656 | +#if IUTEST_HAS_CXX_HDR_VARIANT | |
657 | +# include <variant> | |
658 | +#endif | |
659 | +#if IUTEST_HAS_CXX_HDR_CHARCONV | |
660 | +# include <charconv> | |
661 | +#endif | |
662 | + | |
665 | 663 | #endif // INCG_IRIS_IUTEST_STDLIB_DEFS_HPP_9C62C097_E5FB_49EE_9329_811F32C846A2_ |
@@ -17,11 +17,11 @@ | ||
17 | 17 | |
18 | 18 | //====================================================================== |
19 | 19 | // define |
20 | -#define IUTEST_VER 0x01179908u //!< iutest version 1.17.99.8 | |
20 | +#define IUTEST_VER 0x01179909u //!< iutest version 1.17.99.9 | |
21 | 21 | #define IUTEST_MAJORVER 0x01u //!< Major Version |
22 | 22 | #define IUTEST_MINORVER 0x17u //!< Minor Version |
23 | 23 | #define IUTEST_MICROVER 0x99u //!< Micro Version |
24 | -#define IUTEST_REVISION 0x08u //!< Revision | |
24 | +#define IUTEST_REVISION 0x09u //!< Revision | |
25 | 25 | |
26 | 26 | #define IUTEST_BUILD IUTEST_MICROVER //!< @deprecated |
27 | 27 |
@@ -0,0 +1,69 @@ | ||
1 | +resources: | |
2 | + - name: iutest_gitRepo | |
3 | + type: GitRepo | |
4 | + configuration: | |
5 | + gitProvider: GitHub | |
6 | + path: srz-zumix/iutest | |
7 | + branches: | |
8 | + include: master|^jfrog/.* | |
9 | + # https://www.jfrog.com/confluence/display/JFROG/Triggering+Pipelines+and+Steps#TriggeringPipelinesandSteps-CancellingPreviousRunsOnaGitRepositoryChange | |
10 | + cancelPendingRunsOn: | |
11 | + newCommit: true | |
12 | + pullRequestUpdate: true | |
13 | +pipelines: | |
14 | + - name: iutest_centos_basic_test | |
15 | + configuration: | |
16 | + nodePool: centos-latest | |
17 | + runtime: | |
18 | + type: image | |
19 | + image: | |
20 | + auto: | |
21 | + language: cpp | |
22 | + versions: | |
23 | + - "9.0.1" | |
24 | + steps: | |
25 | + - name: gcc | |
26 | + type: Bash | |
27 | + configuration: | |
28 | + inputResources: | |
29 | + - name: iutest_gitRepo | |
30 | + execution: | |
31 | + onStart: | |
32 | + - update_commit_status iutest_gitRepo # Status: "processing" | |
33 | + onExecute: | |
34 | + - update_commit_status iutest_gitRepo # Status: "processing" | |
35 | + - yum install -y make | |
36 | + - pushd ${res_iutest_gitRepo_resourcePath} | |
37 | + - make -C test showcxxversion showcxxmacros | |
38 | + - make -C test -j2 | |
39 | + - make -C test test | |
40 | + - make -C test report | |
41 | + - popd | |
42 | + onFailure: | |
43 | + - update_commit_status iutest_gitRepo # Status: "failure" | |
44 | + onSuccess: | |
45 | + - update_commit_status iutest_gitRepo # Status: "success" | |
46 | + - name: clang | |
47 | + type: Bash | |
48 | + configuration: | |
49 | + environmentVariables: | |
50 | + CC: clang | |
51 | + CXX: clang++ | |
52 | + inputResources: | |
53 | + - name: iutest_gitRepo | |
54 | + execution: | |
55 | + onStart: | |
56 | + - update_commit_status iutest_gitRepo # Status: "processing" | |
57 | + onExecute: | |
58 | + - update_commit_status iutest_gitRepo # Status: "processing" | |
59 | + - yum install -y make | |
60 | + - pushd ${res_iutest_gitRepo_resourcePath} | |
61 | + - make -C test showcxxversion showcxxmacros | |
62 | + - make -C test -j2 | |
63 | + - make -C test test | |
64 | + - make -C test report | |
65 | + - popd | |
66 | + onFailure: | |
67 | + - update_commit_status iutest_gitRepo # Status: "failure" | |
68 | + onSuccess: | |
69 | + - update_commit_status iutest_gitRepo # Status: "success" |
@@ -81,16 +81,15 @@ | ||
81 | 81 | ::iutest::internal::FilePath path("path"); |
82 | 82 | IUTEST_EXPECT_FALSE(path.IsRootDirectory()); |
83 | 83 | } |
84 | -// FIXME: https://github.com/srz-zumix/iutest/issues/589 | |
85 | -// { | |
86 | -// #ifdef IUTEST_OS_WINDOWS | |
87 | -// ::iutest::internal::FilePath path("C:\\"); | |
88 | -// IUTEST_EXPECT_TRUE(path.IsRootDirectory()); | |
89 | -// #else | |
90 | -// ::iutest::internal::FilePath path("/"); | |
91 | -// IUTEST_EXPECT_TRUE(path.IsRootDirectory()); | |
92 | -// #endif | |
93 | -// } | |
84 | + { | |
85 | +#ifdef IUTEST_OS_WINDOWS | |
86 | + ::iutest::internal::FilePath path("C:\\"); | |
87 | + IUTEST_EXPECT_TRUE(path.IsRootDirectory()); | |
88 | +#else | |
89 | + ::iutest::internal::FilePath path("/"); | |
90 | + IUTEST_EXPECT_TRUE(path.IsRootDirectory()); | |
91 | +#endif | |
92 | + } | |
94 | 93 | } |
95 | 94 | |
96 | 95 | IUTEST(FilePath, IsAbsolutePath) |