зеркало из https://github.com/microsoft/CCF.git
Move `partitions_cft` to its own CTest configuration (#3001)
This commit is contained in:
Родитель
4fb0ae9b76
Коммит
189bf64ecb
|
@ -42,7 +42,7 @@ jobs:
|
|||
cmake_args: "${{ parameters.build.common.cmake_args }} ${{ parameters.build.debug.cmake_args }} ${{ parameters.build.NoSGX.cmake_args }}"
|
||||
suffix: "Instrumented"
|
||||
artifact_name: "NoSGX_Instrumented"
|
||||
ctest_filter: '-LE "benchmark|perf|partitions"'
|
||||
ctest_filter: '-LE "benchmark|perf"'
|
||||
ctest_timeout: "300"
|
||||
timeoutInMinutes: 120
|
||||
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
cmake_args: "${{ parameters.build.common.cmake_args }} -DTLS_TEST=ON -DSHUFFLE_SUITE=ON -DENABLE_BFT=OFF"
|
||||
suffix: "Release"
|
||||
artifact_name: "SGX_Release"
|
||||
ctest_filter: '-LE "benchmark|perf|rotation|partitions"'
|
||||
ctest_filter: '-LE "benchmark|perf|rotation"'
|
||||
|
||||
- template: common.yml
|
||||
parameters:
|
||||
|
@ -62,4 +62,4 @@ jobs:
|
|||
cmake_args: "${{ parameters.build.common.cmake_args }} -DTLS_TEST=ON -DSHUFFLE_SUITE=ON -DENABLE_BFT=OFF"
|
||||
suffix: "Release"
|
||||
artifact_name: "SGX_IceLake_Release"
|
||||
ctest_filter: '-LE "benchmark|perf|rotation|partitions"'
|
||||
ctest_filter: '-LE "benchmark|perf|rotation"'
|
||||
|
|
|
@ -29,13 +29,13 @@ parameters:
|
|||
|
||||
test:
|
||||
NoSGX:
|
||||
ctest_args: '-LE "benchmark|perf|tlstest|vegeta|partitions|suite"'
|
||||
ctest_args: '-LE "benchmark|perf|tlstest|vegeta|suite"'
|
||||
SGX:
|
||||
ctest_args: '-LE "benchmark|perf|tlstest|vegeta|partitions|suite"'
|
||||
ctest_args: '-LE "benchmark|perf|tlstest|vegeta|suite"'
|
||||
perf:
|
||||
ctest_args: '-L "benchmark|perf|vegeta"'
|
||||
release:
|
||||
ctest_args: '-LE "partitions"'
|
||||
ctest_args: ""
|
||||
|
||||
jobs:
|
||||
# Debug
|
||||
|
|
|
@ -18,7 +18,7 @@ steps:
|
|||
- ${{ if ne(parameters.suffix, 'Perf') }}:
|
||||
- script: |
|
||||
set -ex
|
||||
sudo bash -c "source env/bin/activate && ctest -VV --timeout ${{ parameters.ctest_timeout }} --no-compress-output -L partitions"
|
||||
sudo bash -c "source env/bin/activate && ctest -VV --timeout ${{ parameters.ctest_timeout }} --no-compress-output -L partitions -C partitions"
|
||||
env:
|
||||
CTEST_TIMEOUT: "${{ parameters.ctest_timeout }}"
|
||||
condition: succeededOrFailed()
|
||||
|
|
|
@ -29,6 +29,6 @@ jobs:
|
|||
cmake_args: "-DCOMPILE_TARGETS=sgx -DWORKER_THREADS=2"
|
||||
suffix: "MultiThread"
|
||||
artifact_name: "MultiThread"
|
||||
ctest_filter: '-LE "perf|partitions|bft"'
|
||||
ctest_filter: '-LE "perf|bft"'
|
||||
ctest_timeout: "0" # No timeout
|
||||
|
||||
|
|
|
@ -633,6 +633,7 @@ if(BUILD_TESTS)
|
|||
PYTHON_SCRIPT ${CMAKE_SOURCE_DIR}/tests/partitions_test.py
|
||||
CONSENSUS cft
|
||||
LABEL partitions
|
||||
CONFIGURATIONS partitions
|
||||
# Higher snapshot interval as the test currently assumes that no
|
||||
# transactions are emitted while partitions are up. To be removed when
|
||||
# https://github.com/microsoft/CCF/issues/2577 is implemented
|
||||
|
|
Загрузка…
Ссылка в новой задаче