Skip to content

Commit fae13b6

Browse files
committed
[skip ci] fix incorrect condition
1 parent fae162c commit fae13b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ measure what: (_check "bc hyperfine max_rss jq sponge")
100100
max_rss -ro STATS -- $(cat CMD)
101101
jq '. += {"max_rss": '$(cat STATS)'}' "$out" | sponge "$out"
102102

103-
if ! ${CI:-}; then
103+
if [ -z ${CI:-} ]; then
104104
perf_out=$(perf stat -x, -e cycles,instructions $(cat CMD) 2>&1 >/dev/null)
105105
echo "$perf_out" | awk -F, '$3~/^cycles/{print $1}' > CYCLES
106106
echo "$perf_out" | awk -F, '$3~/^instructions/{print $1}' > INSTRUCTIONS

0 commit comments

Comments
 (0)