Skip to content

Commit 5dddebd

Browse files
committed
update kontrol performance script for new setup
1 parent 98dc662 commit 5dddebd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/performance-tests-kontrol.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ while [[ $# -gt 0 ]]; do
6666
BUG_REPORT="--bug-report --bug-report-dir $SCRIPT_DIR/bug-reports/kontrol-$KONTROL_VERSION-$FEATURE_BRANCH_NAME"
6767
shift # past argument
6868
;;
69+
--use-all-tests)
70+
echo "Truncating file 'foundry-prove-skip', which has $(wc -l src/tests/integration/test-data/foundry-prove-skip) lines..."
71+
echo "" > ./src/tests/integration/test-data/foundry-prove-skip
72+
shift
73+
;;
6974
-*|--*)
7075
echo "Unknown option $1"
7176
exit 1
@@ -104,7 +109,7 @@ master_shell() {
104109
}
105110

106111
# kompile Kontrol's K dependencies
107-
feature_shell "poetry install && poetry run kdist --verbose build evm-semantics.plugin evm-semantics.haskell kontrol.foundry --jobs 4"
112+
feature_shell "poetry install && poetry run kdist --verbose build evm-semantics.plugin evm-semantics.haskell kontrol.* --jobs 4"
108113

109114
# kompile the test contracts, to be reused in feature_shell and master_shell. Copy the result from pytest's temp directory
110115
PYTEST_TEMP_DIR=$TEMPD/pytest-temp-dir

0 commit comments

Comments
 (0)