Skip to content

Commit ff2df3c

Browse files
committed
ci: reduce all VTEST_SHOW_LONGEST_XXX to 3
1 parent 30c8d46 commit ff2df3c

6 files changed

Lines changed: 57 additions & 57 deletions

File tree

‎.github/workflows/freebsd_ci.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
git config --global --add safe.directory .
4747
gmake
4848
sudo ./v symlink
49-
export VTEST_SHOW_LONGEST_BY_RUNTIME=10
50-
export VTEST_SHOW_LONGEST_BY_COMPTIME=10
51-
export VTEST_SHOW_LONGEST_BY_TOTALTIME=10
49+
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
50+
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
51+
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
5252
export VFLAGS='-cc tcc -no-retry-compilation'
5353
./v run ci/freebsd_ci.vsh all
5454
@@ -75,9 +75,9 @@ jobs:
7575
git config --global --add safe.directory .
7676
gmake
7777
sudo ./v symlink
78-
export VTEST_SHOW_LONGEST_BY_RUNTIME=10
79-
export VTEST_SHOW_LONGEST_BY_COMPTIME=10
80-
export VTEST_SHOW_LONGEST_BY_TOTALTIME=10
78+
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
79+
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
80+
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
8181
export VFLAGS='-cc clang'
8282
./v run ci/freebsd_ci.vsh all
8383
@@ -104,8 +104,8 @@ jobs:
104104
git config --global --add safe.directory .
105105
gmake
106106
sudo ./v symlink
107-
export VTEST_SHOW_LONGEST_BY_RUNTIME=10
108-
export VTEST_SHOW_LONGEST_BY_COMPTIME=10
109-
export VTEST_SHOW_LONGEST_BY_TOTALTIME=10
107+
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
108+
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
109+
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
110110
export VFLAGS='-cc gcc'
111111
./v run ci/freebsd_ci.vsh all

‎.github/workflows/linux_ci.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
timeout-minutes: 121
2828
env:
2929
VFLAGS: -cc tcc -no-retry-compilation
30-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
31-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
32-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
30+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
31+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
32+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
3333
steps:
3434
- uses: actions/checkout@v6
3535
- name: Build v
@@ -85,9 +85,9 @@ jobs:
8585
runs-on: ubuntu-24.04
8686
timeout-minutes: 121
8787
env:
88-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
89-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
90-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
88+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
89+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
90+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
9191
steps:
9292
- uses: actions/checkout@v6
9393
- name: Build V
@@ -142,9 +142,9 @@ jobs:
142142
timeout-minutes: 121
143143
env:
144144
VFLAGS: -cc clang
145-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
146-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
147-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
145+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
146+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
147+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
148148
steps:
149149
- uses: actions/checkout@v6
150150
- name: Build V

‎.github/workflows/macos_ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
timeout-minutes: 121
3131
env:
3232
VFLAGS: -cc clang
33-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
34-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
35-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
33+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
34+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
35+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
3636
steps:
3737
- uses: actions/checkout@v6
3838
- name: Build V

‎.github/workflows/openbsd_ci.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
git config --global --add safe.directory .
4747
gmake
4848
sudo ./v symlink
49-
export VTEST_SHOW_LONGEST_BY_RUNTIME=10
50-
export VTEST_SHOW_LONGEST_BY_COMPTIME=10
51-
export VTEST_SHOW_LONGEST_BY_TOTALTIME=10
49+
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
50+
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
51+
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
5252
export VFLAGS='-cc tcc -no-retry-compilation'
5353
./v run ci/openbsd_ci.vsh all
5454
@@ -75,8 +75,8 @@ jobs:
7575
git config --global --add safe.directory .
7676
gmake
7777
sudo ./v symlink
78-
export VTEST_SHOW_LONGEST_BY_RUNTIME=10
79-
export VTEST_SHOW_LONGEST_BY_COMPTIME=10
80-
export VTEST_SHOW_LONGEST_BY_TOTALTIME=10
78+
export VTEST_SHOW_LONGEST_BY_RUNTIME=3
79+
export VTEST_SHOW_LONGEST_BY_COMPTIME=3
80+
export VTEST_SHOW_LONGEST_BY_TOTALTIME=3
8181
export VFLAGS='-cc clang'
8282
./v run ci/openbsd_ci.vsh all

‎.github/workflows/sanitized_ci.yml‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
VJOBS: 1
8686
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1:print_suppressions=0:suppressions=/home/runner/work/v/v/.github/workflows/run_sanitizers_undefined.suppressions
8787
VNATIVE_SKIP_LIBC_VV: 1
88-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
89-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
90-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
88+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
89+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
90+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
9191
steps:
9292
- uses: actions/checkout@v6
9393
- name: Build V
@@ -118,9 +118,9 @@ jobs:
118118
VJOBS: 1
119119
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1:print_suppressions=0:suppressions=/home/runner/work/v/v/.github/workflows/run_sanitizers_undefined.suppressions
120120
VNATIVE_SKIP_LIBC_VV: 1
121-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
122-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
123-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
121+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
122+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
123+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
124124
steps:
125125
- uses: actions/checkout@v6
126126
- name: Build V
@@ -151,9 +151,9 @@ jobs:
151151
ASAN_OPTIONS: detect_leaks=1
152152
LSAN_OPTIONS: max_leaks=1:print_suppressions=0:suppressions=/home/runner/work/v/v/.github/workflows/run_sanitizers_leak.suppressions
153153
VNATIVE_SKIP_LIBC_VV: 1
154-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
155-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
156-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
154+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
155+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
156+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
157157
steps:
158158
- uses: actions/checkout@v6
159159
- name: Build V
@@ -185,9 +185,9 @@ jobs:
185185
VFLAGS: -cc msvc
186186
VJOBS: 1
187187
VNATIVE_SKIP_LIBC_VV: 1
188-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
189-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
190-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
188+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
189+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
190+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
191191
steps:
192192
- uses: actions/checkout@v6
193193
- name: Build
@@ -214,9 +214,9 @@ jobs:
214214
ASAN_OPTIONS: detect_leaks=1
215215
LSAN_OPTIONS: max_leaks=1:print_suppressions=0:suppressions=/home/runner/work/v/v/.github/workflows/run_sanitizers_leak.suppressions
216216
VNATIVE_SKIP_LIBC_VV: 1
217-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
218-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
219-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
217+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
218+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
219+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
220220
steps:
221221
- uses: actions/checkout@v6
222222
- name: Build V
@@ -248,9 +248,9 @@ jobs:
248248
VFLAGS: -cc clang -gc none -cflags -fno-omit-frame-pointer
249249
VJOBS: 1
250250
VNATIVE_SKIP_LIBC_VV: 1
251-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
252-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
253-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
251+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
252+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
253+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
254254
steps:
255255
- uses: actions/checkout@v6
256256
- name: Build V
@@ -283,9 +283,9 @@ jobs:
283283
VJOBS: 1
284284
LSAN_OPTIONS: detect_leaks=0
285285
VNATIVE_SKIP_LIBC_VV: 1
286-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
287-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
288-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
286+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
287+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
288+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
289289
steps:
290290
- uses: actions/checkout@v6
291291
- name: Build V

‎.github/workflows/windows_ci.yml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
timeout-minutes: 90
3030
env:
3131
VFLAGS: -cc gcc
32-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
33-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
34-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
32+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
33+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
34+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
3535
steps:
3636
- uses: actions/checkout@v6
3737
- name: Show tool versions
@@ -99,9 +99,9 @@ jobs:
9999
timeout-minutes: 60
100100
env:
101101
VFLAGS: -cc msvc
102-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
103-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
104-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
102+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
103+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
104+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
105105
steps:
106106
- uses: actions/checkout@v6
107107
- name: Build
@@ -148,9 +148,9 @@ jobs:
148148
timeout-minutes: 60
149149
env:
150150
VFLAGS: -cc tcc -no-retry-compilation
151-
VTEST_SHOW_LONGEST_BY_RUNTIME: 20
152-
VTEST_SHOW_LONGEST_BY_COMPTIME: 20
153-
VTEST_SHOW_LONGEST_BY_TOTALTIME: 20
151+
VTEST_SHOW_LONGEST_BY_RUNTIME: 3
152+
VTEST_SHOW_LONGEST_BY_COMPTIME: 3
153+
VTEST_SHOW_LONGEST_BY_TOTALTIME: 3
154154
steps:
155155
- uses: actions/checkout@v6
156156
- name: Build with make.bat -tcc

0 commit comments

Comments
 (0)