Skip to content
Snippets Groups Projects
Commit e32d3bee authored by Ramon Nou's avatar Ramon Nou
Browse files

update cmake after rebase

parent 62b4bd3b
No related branches found
No related tags found
1 merge request!168Data Erasure codes - Resilience
Pipeline #4626 failed
......@@ -110,7 +110,7 @@ gkfs:integration:
needs: ['gkfs']
parallel:
matrix:
- SUBTEST: [ data, status, syscalls, directories, operations, position, shell, rename ]
- SUBTEST: [ data, status, syscalls, directories, operations, position, shell, rename, forwarding]
script:
## run tests
......@@ -151,54 +151,6 @@ gkfs:integration:
junit: ${BUILD_PATH}/tests/integration/report.xml
## == integration tests for gkfwd ==========
gkfwd:integration:
stage: test
image: gekkofs/testing:0.9.3-exp
interruptible: true
needs: ['gkfs']
parallel:
matrix:
- SUBTEST: [ forwarding ]
# rules:
# - when: never
script:
## run tests
- mkdir -p ${BUILD_PATH}/tests/run
- cd ${BUILD_PATH}/tests/integration
- ${PYTEST} -v -n $(nproc)
${INTEGRATION_TESTS_BIN_PATH}/${SUBTEST}
--basetemp=${BUILD_PATH}/tests/run/${SUBTEST}
--junit-xml=report.xml
## capture coverage information for this test and write it to
## $COVERAGE_PATH/$SUBTEST.info
- cd ${CI_PROJECT_DIR}
- cmake --preset ci-coverage
-DCOVERAGE_OUTPUT_DIR=${COVERAGE_PATH}
-DCOVERAGE_CAPTURE_TRACEFILE=${COVERAGE_PATH}/${SUBTEST}.info
## Since the pipeline recreates the source tree, the access times for .gcno
## files are newer than those of .gcda files. This makes gcov emit a
## warning for each file which slows it down. Updating the timestamps
## avoids this
- find ${BUILD_PATH} -name "*.gcno" -exec touch {} \;
- cmake --build ${BUILD_PATH} --target coverage-capture
# fix relative paths so that GitLab can find the correct files
after_script:
- perl -i.orig
-pe 's%file="(.*?)"%file="tests/integration/$1"%;'
-pe 's%(../)+install/share/gkfs/%%g;'
${BUILD_PATH}/tests/integration/report.xml
artifacts:
expire_in: 1 week
when: always
paths:
- ${BUILD_PATH}
reports:
junit: ${BUILD_PATH}/tests/integration/report.xml
## == unit tests for gkfs ==================
......@@ -301,7 +253,7 @@ coverage:
image: gekkofs/testing:0.9.3-exp
# needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfwd:integration',
# 'gkfs:unit' ]
needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit', 'gkfwd:integration']
needs: [ 'coverage:baseline', 'gkfs:integration', 'gkfs:unit', 'gkfs:integration']
script:
- cd ${CI_PROJECT_DIR}
- cmake
......
......@@ -78,7 +78,7 @@
"GKFS_ENABLE_PROMETHEUS": true,
"GKFS_RENAME_SUPPORT": true,
"GKFS_MAX_OPEN_FDS": "10000",
"GKFS_MAX_INTERNAL_FDS": "1024"
"GKFS_MAX_INTERNAL_FDS": "1024",
"GKFS_ENABLE_EC": true
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment