Skip to content

Commit

Permalink
Add Compiler and OS Info to the TestSuite description table (CGAL#8188)
Browse files Browse the repository at this point in the history
## Summary of Changes
Add Compiler and OS Information to TestSuite Platform Description Table
This PR is linked with those PRs:
   - CGAL/cgal-testsuite-dockerfiles#153
   - CGAL/cgal-testsuite-dockerfiles#154

The version of this Pull Request can be reviewed at [this
link](https://cgal.geometryfactory.com/~nsaillant/testsuite8188/TESTRESULTS/)

## Release Management

* Issue(s) solved (if any): CGAL#8167
  • Loading branch information
sloriot authored Oct 23, 2024
2 parents 3ad6e21 + 9b4c27d commit 2a57275
Show file tree
Hide file tree
Showing 6 changed files with 415 additions and 400 deletions.
18 changes: 11 additions & 7 deletions Installation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,13 +361,17 @@ include(${CGAL_MODULES_DIR}/CGAL_enable_end_of_configuration_hook.cmake)
cgal_setup_module_path()

if(RUNNING_CGAL_AUTO_TEST OR CGAL_TEST_SUITE)
message(STATUS "Operating system:")
execute_process(
COMMAND uname -a
TIMEOUT 5
OUTPUT_VARIABLE uname_a
ERROR_VARIABLE uname_a)
message(STATUS "${uname_a}")
find_program(LSB_RELEASE_EXEC lsb_release)
if(LSB_RELEASE_EXEC)
execute_process(
COMMAND ${LSB_RELEASE_EXEC} -ds
OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT
OUTPUT_STRIP_TRAILING_WHITESPACE
)
message(STATUS "Operating system: ${LSB_RELEASE_ID_SHORT} ${CMAKE_SYSTEM_PROCESSOR}")
else()
message(STATUS "Operating system: ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}")
endif()
cgal_display_compiler_version()
endif()

Expand Down
Loading

0 comments on commit 2a57275

Please sign in to comment.