Commit 262bb791 authored by Ramon Nou's avatar Ramon Nou
Browse files

Merge branch '140-unit-tests-not-found' into 'master'

Resolve "Unit tests not found"

Closes #140

See merge request hpc/gekkofs!79
parents 838285a9 8e27acc3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -68,8 +68,12 @@ compile GekkoFS:
      -DCMAKE_INSTALL_PREFIX=${INSTALL_PATH}
      ${CI_PROJECT_DIR}
    - make -j$(nproc) install
    # the following commands are intended to reduce artifact size
    - rm -rf ${BUILD_PATH}/_deps
    - find ${BUILD_PATH} -name "*.o" -delete
  artifacts:
    paths:
      - ${BUILD_PATH}
      - ${INSTALL_PATH}

compile tests:
@@ -98,6 +102,7 @@ integration tests:
unit:
  stage: test
  script:
    - cd ${BUILD_PATH}
    - ctest -j $(nproc) -L unit::all
  artifacts:
    when: on_failure
+1 −1
Original line number Diff line number Diff line
@@ -53,6 +53,6 @@ catch_discover_tests(tests

if(GKFS_INSTALL_TESTS)
    install(TARGETS tests
        DESTINATION ${CMAKE_INSTALL_BINDIR}
      DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/gkfs/tests/unit
    )
endif()