Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while running CTest a second time #526

Open
ClausKlein opened this issue Dec 11, 2023 · 0 comments
Open

Errors while running CTest a second time #526

ClausKlein opened this issue Dec 11, 2023 · 0 comments

Comments

@ClausKlein
Copy link
Contributor

ClausKlein commented Dec 11, 2023

Errors while running CTest
Output from these tests are in: /Users/clausklein/cmake/TheLartians/CPM.cmake/test/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
bash-5.2$ ctest --rerun-failed --output-on-failure
Test project /Users/clausklein/cmake/TheLartians/CPM.cmake/test/build
    Start 8: /Users/clausklein/cmake/TheLartians/CPM.cmake/test/unit/options.cmake
1/1 Test #8: /Users/clausklein/cmake/TheLartians/CPM.cmake/test/unit/options.cmake ...***Failed    0.36 sec
CMake Warning at /Users/clausklein/cmake/TheLartians/CPM.cmake/cmake/CPM.cmake:76 (message):
  CPM: Your project is using an unstable development version of CPM.cmake.
  Please update to a recent release if possible.  See
  https://github.com/cpm-cmake/CPM.cmake for details.
Call Stack (most recent call first):
  CMakeLists.txt:11 (include)


-- CPM: Adding package Dependency@ (/Users/clausklein/cmake/TheLartians/CPM.cmake/test/unit/local_dependency/dependency)
CMake Deprecation Warning at dependency/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


called alternative external method
DEFINE_ALTERNATIVE_FUNCTION: OFF
CMake Error at /Users/clausklein/cmake/TheLartians/CPM.cmake/cmake/testing.cmake:41 (message):
  assertion failed: 'DEFINE_ALTERNATIVE_FUNCTION' is defiend (OFF)
Call Stack (most recent call first):
  CMakeLists.txt:33 (ASSERT_NOT_DEFINED)


-- Configuring incomplete, errors occurred!
CMake Error at /Users/clausklein/cmake/TheLartians/CPM.cmake/cmake/testing.cmake:7 (message):
  assertion failed: '1' != '0'
Call Stack (most recent call first):
  /Users/clausklein/cmake/TheLartians/CPM.cmake/test/unit/options.cmake:19 (assert_equal)




0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.42 sec

The following tests FAILED:
          8 - /Users/clausklein/cmake/TheLartians/CPM.cmake/test/unit/options.cmake (Failed)
Errors while running CTest
bash-5.2$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
bash-5.2$ git log -1
commit 369f1316f67545e6ef115b317802bc7acedf6697 (HEAD -> master, tag: v0.38.7, origin/master, origin/HEAD, claus/master, claus/develop, develop)
Author: Chris Wright <chris@inkyspider.co.uk>
Date:   Thu Nov 30 19:01:03 2023 +0000

    Treat relative paths as relative to parent project's remote (#522)
    
    * Treat relative paths as relative to parent project's remote
    
    * replace unit test case with integration test
    
    * run relative URL test only on supported CMake versions (3.27)
    
    * omit cmake 2.25.x test runner as replaced by 2.27.x
    
    ---------
    
    Co-authored-by: Chris Wright <chris.wright@mqa.co.uk>
    Co-authored-by: Lars Melchior <lars.melchior@gmail.com>
bash-5.2$ 
@ClausKlein ClausKlein changed the title Errors while running CTest on OSX with cmake v3.27 and v3.28 Errors while running CTest if CPM_SOURCE_CACHE=$HOME/.cache/CPM/ set on my environment? Dec 11, 2023
@ClausKlein ClausKlein changed the title Errors while running CTest if CPM_SOURCE_CACHE=$HOME/.cache/CPM/ set on my environment? Errors while running CTest if CPM_SOURCE_CACHE is set in my environment? Dec 11, 2023
@ClausKlein ClausKlein changed the title Errors while running CTest if CPM_SOURCE_CACHE is set in my environment? Errors while running CTest a second time Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant