Skip to content

Commit

Permalink
Run more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed May 17, 2024
1 parent d596dae commit 749a68a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/bencher.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "Continous Benchmarking"

on:
push:
branches: bencher_experiment
Expand All @@ -19,7 +21,9 @@ jobs:
cd build
cmake -GNinja -DCOMPILE_TARGET=virtual ..
ninja
./tests.sh -VV -R pi_basic_virtual_cft
./tests.sh -VV -R pi_basic_virtual
./tests.sh -VV -R historical_query
./tests.sh -VV -R commit_latency
- uses: bencherdev/bencher@main
- name: Track base branch benchmarks with Bencher
Expand Down
6 changes: 1 addition & 5 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,14 @@ function(add_perf_test)
set(ENCLAVE_TYPE "virtual")
endif()

set(TESTS_SUFFIX "${TESTS_SUFFIX}_cft")

set(TEST_NAME "${PARSED_ARGS_NAME}${TESTS_SUFFIX}")

set(LABEL_ARG "${TEST_NAME}^")

add_test(
NAME "${PARSED_ARGS_NAME}${TESTS_SUFFIX}"
COMMAND
${PYTHON} ${PARSED_ARGS_PYTHON_SCRIPT} -b . -c ${PARSED_ARGS_CLIENT_BIN}
${CCF_NETWORK_TEST_ARGS} ${PARSED_ARGS_CONSTITUTION} --write-tx-times
${VERIFICATION_ARG} --label ${LABEL_ARG} --snapshot-tx-interval 10000
${VERIFICATION_ARG} --label ${TEST_NAME} --snapshot-tx-interval 10000
${PARSED_ARGS_ADDITIONAL_ARGS} -e ${ENCLAVE_TYPE} -t ${ENCLAVE_PLATFORM}
${NODES}
)
Expand Down

0 comments on commit 749a68a

Please sign in to comment.