[all-commits] [llvm/llvm-project] 7fdb50: [libc] Add a new rule add_integration_test.

Siva Chandra via All-commits all-commits at lists.llvm.org
Wed Mar 23 13:57:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fdb50c8137b0b9c7f02fe0803e368f12969b389
      https://github.com/llvm/llvm-project/commit/7fdb50c8137b0b9c7f02fe0803e368f12969b389
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/loader/linux/CMakeLists.txt
    M libc/test/CMakeLists.txt
    M libc/test/integration/CMakeLists.txt
    A libc/test/integration/loader/CMakeLists.txt
    A libc/test/integration/loader/linux/CMakeLists.txt
    A libc/test/integration/loader/linux/args_test.cpp
    A libc/test/integration/loader/linux/main_without_args.cpp
    A libc/test/integration/loader/linux/main_without_envp.cpp
    A libc/test/integration/loader/linux/tls_test.cpp
    A libc/test/integration/src/CMakeLists.txt
    A libc/test/integration/src/stdlib/CMakeLists.txt
    A libc/test/integration/src/stdlib/getenv_test.cpp
    R libc/test/loader/CMakeLists.txt
    R libc/test/loader/linux/CMakeLists.txt
    R libc/test/loader/linux/args_test.cpp
    R libc/test/loader/linux/getenv_test.cpp
    R libc/test/loader/linux/loader_test.h
    R libc/test/loader/linux/main_without_args.cpp
    R libc/test/loader/linux/main_without_envp.cpp
    R libc/test/loader/linux/tls_test.cpp
    M libc/utils/CMakeLists.txt
    A libc/utils/IntegrationTest/CMakeLists.txt
    A libc/utils/IntegrationTest/test.h

  Log Message:
  -----------
  [libc] Add a new rule add_integration_test.

All existing loader tests are switched to an integration test added with
the new rule. Also, the getenv test is now enabled as an integration test.

All loader tests have been moved to test/integration. Also, the simple
checker library for the previous loader tests has been moved to a
separate directory of its own.

A follow up change will perform more cleanup of the loader CMake rules
to eliminate now redundent options.

Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D122266




More information about the All-commits mailing list