diff options
| author | Stephen Kelly <steveire@gmail.com> | 2011-08-14 13:42:31 (GMT) |
|---|---|---|
| committer | Stephen Kelly <steveire@gmail.com> | 2011-08-14 13:45:36 (GMT) |
| commit | 10d8c446d5893446eaf4bd6e295fb6ea0d83d7f4 (patch) | |
| tree | 88b0f0599b07c2457a8bc2b6bc92c278607cc847 /Tests/Module/GenerateExportHeader/libstatictest | |
| parent | 97392a7dd3ca141285e22507bfdae6c640512e76 (diff) | |
| download | CMake-10d8c446d5893446eaf4bd6e295fb6ea0d83d7f4.zip CMake-10d8c446d5893446eaf4bd6e295fb6ea0d83d7f4.tar.gz CMake-10d8c446d5893446eaf4bd6e295fb6ea0d83d7f4.tar.bz2 | |
Disable testing of deprecated macros.
It is not possible to test for it sanely across multiple ancient
compilers supported by cmake.
Diffstat (limited to 'Tests/Module/GenerateExportHeader/libstatictest')
| -rw-r--r-- | Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt b/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt index 14ca05b..eb6bb87 100644 --- a/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt +++ b/Tests/Module/GenerateExportHeader/libstatictest/CMakeLists.txt @@ -9,10 +9,10 @@ endmacro() static_build_pass("Libstatic l; return l.libstatic_exported();" "Failed to build exported.") -if (COMPILER_HAS_DEPRECATED) - static_build_fail("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.") - static_build_fail("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.") -else() - static_build_pass("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.") - static_build_pass("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.") -endif() +# if (COMPILER_HAS_DEPRECATED) +# static_build_fail("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.") +# static_build_fail("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.") +# else() +# static_build_pass("Libstatic l; return l.libstatic_deprecated();" "Built use of deprecated class method. This should not be possible.") +# static_build_pass("libstatic_deprecated();" "Built use of deprecated function. This should not be possible.") +# endif() |
