Skip to content

Commit 3340f09

Browse files
committed
small fixes in performance scripts
1 parent 070305f commit 3340f09

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
else:
1515
minchange = 0.035
1616

17-
testname = re.compile(r'.*\[(?P<name>.*)\]$')
17+
testname = re.compile(r'^[^\[]*\[(?P<name>.*)\]$')
1818

1919
def readName(input):
2020
r = testname.match(input)

scripts/performance-tests-kontrol.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ sed -i'' -e "s|'forge', 'build'|'forge', 'build', '--no-auto-detect'|g" src/kont
9393
sed -i'' -e "s|'forge', 'build'|'forge', 'build', '--no-auto-detect'|g" src/tests/utils.py
9494
sed -i'' -e "s|'forge', 'build'|'forge', 'build', '--no-auto-detect'|g" src/tests/integration/conftest.py
9595
# update the lock file to keep poetry from complaining
96-
poetry lock --no-update
96+
# option `--no-update` was inverted to `--regenerate` in poetry-2.0.0
97+
poetry lock --no-update || poetry lock
9798

9899
feature_shell() {
99100
GC_DONT_GC=1 nix develop . --extra-experimental-features 'nix-command flakes' --override-input kevm/k-framework/haskell-backend $SCRIPT_DIR/../ --ignore-environment --command bash -c "$1"

0 commit comments

Comments
 (0)