Skip to content
  1. Dec 20, 2024
  2. Dec 19, 2024
  3. Dec 18, 2024
  4. Dec 17, 2024
  5. Dec 12, 2024
  6. Dec 10, 2024
  7. Dec 04, 2024
  8. Dec 03, 2024
  9. Nov 29, 2024
  10. Nov 28, 2024
  11. Nov 27, 2024
    • Elvin Alin Sindrilaru's avatar
      c2830b8b
    • Elvin Alin Sindrilaru's avatar
      FST: Fix wrong condition · af1e342b
      Elvin Alin Sindrilaru authored
      af1e342b
    • Elvin Alin Sindrilaru's avatar
    • Cedric Caffy's avatar
      ctest: Changed .ci directory to .ctest · f4f69181
      Cedric Caffy authored
      f4f69181
    • Guilherme Amadio's avatar
      CMAKE: Add script to build/test EOS with CTest · b769327c
      Guilherme Amadio authored
      The test.cmake script is meant to automate some of the standard
      configure, build, test, install cycle during development, but also
      for continuous integration. This script was originally started in
      VecCore, then improved for XRootD, and now EOS. The script can be
      generically called as
      
      ctest -VV -S test.cmake
      
      from the top directory of the repository. This will configure, build,
      and try to run all tests with ctest. A build directory will be created
      at the top level of the source directory automatically. The script has
      several options to customize the build, the main ones are:
      
       -DCDASH=1            Enables submission to CDash dashboard
       -DCOVERAGE=1         Enables test coverage analysis with gcov
       -DMEMCHECK=1         Enables memory checking with valgrind
       -DSTATIC_ANALYSIS=1  Enables static analysis with clang-tidy
       -DINSTALL=1          Enables an extra step to call make install
      
      When enabling coverage, a report is generated by default in the html/
      directory inside the build directory. The results can be viewed by
      opening the file html/coverage_details.html. This step can be disabled
      by passing -DGCOVR=0 to ctest. It is recommended to use a debug build
      to generate the coverage analysis.
      
      The configuration can also be specified directly on the command line
      via the -C option. For example, to run a coverage build in debug mode,
      with less verbose output, and showing test output when a test failure
      happens, one can run:
      
      ctest -V --output-on-failure -C Debug -DCOVERAGE=1 -S test.cmake
      
      Some environment variables can also influence the behavior of the
      script, like CC, CXX, CMAKE_GENERATOR, CTEST_CONFIGURATION_TYPE,
      CMAKE_BUILD_PARALLEL_LEVEL, CTEST_PARALLEL_LEVEL, and CMAKE_ARGS.
      These are mostly self-explanatory and can be used to override the
      provided defaults. For example, to build with the clang compiler
      and use Ninja as CMake generator, one can run:
      
      env CC=clang CXX=clang++ CMAKE_GENERATOR=Ninja ctest -V -S test.cmake
      
      Finally, the script tries to load configuration files from the .ci
      subdirectory in the source directory. The default configuration is
      used if no specific configuration is found for the detected OS. For
      example, on Ubuntu, a file named ubuntu.cmake will be used if present
      instead of config.cmake. The script also tries to detect a version,
      so, for example, on Alma, one could use almalinux8.cmake which would
      have higher precedence than almalinux.cmake.
      b769327c
    • Guilherme Amadio's avatar
      COMMON: Add missing include to Utils.hh · c524b606
      Guilherme Amadio authored
      c524b606
Loading