AthExCUDA Test Skip Tweak, main branch (2025.03.03.)

Made the test produce less output without a GPU being present. Going from the current:

[bash][lxplus951]:cuda > ctest --test-dir build/ --verbose
Internal ctest changing into directory: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build
UpdateCTestConfiguration  from :/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Parse Config file:/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Parse Config file:/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Test project /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build
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: AthExCUDA_LinearTransformAsync_ctest

1: Test command: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/Control/AthenaExamples/AthExCUDA/CMakeFiles/LinearTransformAsync.sh
1: Working Directory: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/Control/AthenaExamples/AthExCUDA/CMakeFiles/unitTestRun
1: Test timeout computed to be: 120
1: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/athena/Control/AthenaExamples/AthExCUDA/test/AsyncCuda_test.sh: line 3: type: nvidia-smi: not found
1: SKIPPING TEST -- NVidia driver not found
1:  nopost.sh> ERROR: Test LinearTransformAsync failed with exit code: 2
1: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/athena/Control/AthenaExamples/AthExCUDA/test/AsyncCuda_test.sh: line 3: type: nvidia-smi: not found
1: SKIPPING TEST -- NVidia driver not found
1:  noerror.sh> Please check /afs/cern.ch/work/k/krasznaa/projects/cuda/build/Control/AthenaExamples/AthExCUDA/CMakeFiles/unitTestRun/LinearTransformAsync.log
1/1 Test #1: AthExCUDA_LinearTransformAsync_ctest ...***Skipped   1.56 sec

100% tests passed, 0 tests failed out of 1

Label Time Summary:
AthExCUDA    =   1.56 sec*proc (1 test)

Total Test time (real) =   1.67 sec

The following tests did not run:
          1 - AthExCUDA_LinearTransformAsync_ctest (Skipped)
[bash][lxplus951]:cuda >

, to now producing:

[bash][lxplus951]:cuda > ctest --test-dir build/ --verbose
Internal ctest changing into directory: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build
UpdateCTestConfiguration  from :/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Parse Config file:/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Parse Config file:/afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/DartConfiguration.tcl
Test project /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build
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: AthExCUDA_LinearTransformAsync_ctest

1: Test command: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/Control/AthenaExamples/AthExCUDA/CMakeFiles/LinearTransformAsync.sh
1: Working Directory: /afs/cern.ch/user/k/krasznaa/work/projects/cuda/build/Control/AthenaExamples/AthExCUDA/CMakeFiles/unitTestRun
1: Test timeout computed to be: 120
1: SKIPPING TEST -- NVidia driver not found
1/1 Test #1: AthExCUDA_LinearTransformAsync_ctest ...***Skipped   1.03 sec

100% tests passed, 0 tests failed out of 1

Label Time Summary:
AthExCUDA    =   1.03 sec*proc (1 test)

Total Test time (real) =   1.05 sec

The following tests did not run:
          1 - AthExCUDA_LinearTransformAsync_ctest (Skipped)
[bash][lxplus951]:cuda >

This is all somewhat related to ATLINFR-5693, as I noticed the unwanted printouts because of that ticket.

Pinging @fwinkl and @bstanisl.

Merge request reports

Loading