Comment 7 for bug 2052360

Revision history for this message
dann frazier (dannf) wrote :

Also verified in a local lxd container, since that was the test case I described:

Package: cmake
Version: 3.22.1-1ubuntu1.22.04.2

ubuntu@cmake-extras:~/cmake-extras-1.6$ ./debian/tests/copyrighttest
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.5907bUALIK
+ status=0
+ ctest -V -R must_fail_1
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Test project /tmp/tmp.5907bUALIK
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: must_fail_1

1: Test command: /usr/bin/gmake "must_fail_1_test"
1: Test timeout computed to be: 1500
1: [100%] Generating run_always_must_fail_1, must_fail_1.log, must_fail_1_filtered.log
1: /home/ubuntu/cmake-extras-1.6/examples/copyrighttest-demo/no_copyright.cpp: *No copyright* UNKNOWN
1: /home/ubuntu/cmake-extras-1.6/examples/copyrighttest-demo/no_copyright.h: *No copyright* UNKNOWN
1: gmake[3]: *** [CMakeFiles/must_fail_1_test.dir/build.make:73: run_always_must_fail_1] Error 1
1: gmake[2]: *** [CMakeFiles/Makefile2:842: CMakeFiles/must_fail_1_test.dir/all] Error 2
1: gmake[1]: *** [CMakeFiles/Makefile2:849: CMakeFiles/must_fail_1_test.dir/rule] Error 2
1: gmake: *** [Makefile:498: must_fail_1_test] Error 2
1/1 Test #1: must_fail_1 ......................***Failed 5.52 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 5.52 sec

The following tests FAILED:
   1 - must_fail_1 (Failed)
Errors while running CTest
Output from these tests are in: /tmp/tmp.5907bUALIK/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
+ ctest -V -R must_fail_4
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Test project /tmp/tmp.5907bUALIK
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 2
    Start 2: must_fail_4

2: Test command: /usr/bin/gmake "must_fail_4_test"
2: Test timeout computed to be: 1500
2: [100%] Generating run_always_must_fail_4, must_fail_4.log, must_fail_4_filtered.log
2: /home/ubuntu/cmake-extras-1.6/examples/copyrighttest-demo/no_copyright.cpp: *No copyright* UNKNOWN
2: gmake[3]: *** [CMakeFiles/must_fail_4_test.dir/build.make:73: run_always_must_fail_4] Error 1
2: gmake[2]: *** [CMakeFiles/Makefile2:868: CMakeFiles/must_fail_4_test.dir/all] Error 2
2: gmake[1]: *** [CMakeFiles/Makefile2:875: CMakeFiles/must_fail_4_test.dir/rule] Error 2
2: gmake: *** [Makefile:511: must_fail_4_test] Error 2
1/1 Test #2: must_fail_4 ......................***Failed 5.52 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 5.53 sec

The following tests FAILED:
   2 - must_fail_4 (Failed)
Errors while running CTest
Output from these tests are in: /tmp/tmp.5907bUALIK/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
+ ctest -V -R must_succeed_1
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Test project /tmp/tmp.5907bUALIK
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 3
    Start 3: must_succeed_1

3: Test command: /usr/bin/gmake "must_succeed_1_test"
3: Test timeout computed to be: 1500
3: [100%] Generating run_always_must_succeed_1, must_succeed_1.log, must_succeed_1_filtered.log
3: [100%] Built target must_succeed_1_test
1/1 Test #3: must_succeed_1 ................... Passed 5.87 sec

The following tests passed:
 must_succeed_1

100% tests passed, 0 tests failed out of 1

Total Test time (real) = 5.87 sec
+ ctest -V -R must_succeed_3
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
UpdateCTestConfiguration from :/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Parse Config file:/tmp/tmp.5907bUALIK/DartConfiguration.tcl
Test project /tmp/tmp.5907bUALIK
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 4
    Start 4: must_succeed_3

4: Test command: /usr/bin/gmake "must_succeed_3_test"
4: Test timeout computed to be: 1500
4: [100%] Generating run_always_must_succeed_3, must_succeed_3.log, must_succeed_3_filtered.log
4: [100%] Built target must_succeed_3_test
1/1 Test #4: must_succeed_3 ................... Passed 5.94 sec

The following tests passed:
 must_succeed_3

100% tests passed, 0 tests failed out of 1

Total Test time (real) = 5.94 sec
+ exit 0
+ rm -rf /tmp/tmp.5907bUALIK