ci: remove the -silent flag for CI jobs (the failing tests are listed at the end of the run anyway)

pull/13496/head
Delyan Angelov 2022-02-16 21:02:16 +02:00
parent f8b8950b96
commit d3b8ac2e46
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
3 changed files with 21 additions and 29 deletions

View File

@ -41,7 +41,7 @@ jobs:
run: |
thirdparty/tcc/tcc.exe -version
./v -cg -o v cmd/v # Make sure vtcc can build itself twice
# ./v -silent test-all
# ./v test-all
- name: v self compilation
run: ./v -o v2 cmd/v && ./v2 -o v3 cmd/v && ./v3 -o v4 cmd/v
- name: v self compilation with -skip-unused
@ -55,7 +55,7 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: ./v -silent test-self
run: ./v test-self
# - name: Self tests (-cstrict)
# run: ./v -cstrict test-self
- name: Test time functions in a timezone UTC-12
@ -126,7 +126,7 @@ jobs:
./v -gc boehm cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Self tests with `-gc boehm` with V compiler using Boehm-GC itself
run: ./v -gc boehm -silent test-self
run: ./v -gc boehm test-self
- name: Test leak detector
run: |
./v -gc boehm_leak -o testcase_leak vlib/v/tests/testcase_leak.vv
@ -178,7 +178,7 @@ jobs:
# psql -d postgres -c 'create database customerdb;'
# psql -d customerdb -f examples/database/pg/mydb.sql
# - name: Test v->c
# run: ./v -silent test-all
# run: ./v test-all
# - name: Test v binaries
# run: ./v build-vbinaries
## - name: Test v->js
@ -190,7 +190,7 @@ jobs:
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: VJOBS=1 ./v -silent test-self
run: VJOBS=1 ./v test-self
- name: Build examples
run: ./v build-examples
@ -252,7 +252,7 @@ jobs:
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 ./v2 -o v.c cmd/v
UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1 ./v3 -o v.c cmd/v
# - name: Test V
# run: ./v -silent test-all
# run: ./v test-all
# - name: Test v binaries
# run: ./v build-vbinaries
## - name: Test v->js
@ -279,10 +279,9 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: |
./v -silent test-self
run: ./v test-self
- name: Self tests (-prod)
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-self
run: ./v -o vprod -prod cmd/v && ./vprod test-self
- name: Self tests (-cstrict)
run: ./v -cc gcc -cstrict test-self
- name: Build examples
@ -372,10 +371,9 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: |
./v -silent test-self
run: ./v test-self
- name: Self tests (-prod)
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-self
run: ./v -o vprod -prod cmd/v && ./vprod test-self
- name: Self tests (-cstrict)
run: ./v -cstrict test-self
- name: Build examples
@ -440,11 +438,9 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Self tests
run: |
.\v.exe -silent test-self
run: .\v.exe test-self
# - name: Test
# run: |
# .\v.exe -silent test-all
# run: .\v.exe test-all
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
- name: Test v binaries
@ -485,10 +481,9 @@ jobs:
- name: Self tests
run: |
./v -cg cmd\tools\vtest-self.v
./v -silent test-self
./v test-self
# - name: Test
# run: |
# .\v.exe -silent test-all
# run: .\v.exe test-all
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
- name: Test v binaries
@ -624,8 +619,7 @@ jobs:
run: CC=gcc make
- name: Test V fixed tests
run: ./v -silent test-self
run: ./v test-self
# ubuntu-autofree-selfcompile:
# runs-on: ubuntu-20.04
@ -663,7 +657,7 @@ jobs:
# - name: quick debug
# run: ./v -stats vlib/strconv/format_test.v
# - name: Self tests
# run: ./v -silent test-self
# run: ./v test-self
# Ubuntu docker pre-built container
ubuntu-musl:
@ -690,5 +684,4 @@ jobs:
./v cmd/tools/test_if_v_test_system_works.v
./cmd/tools/test_if_v_test_system_works
- name: Test V fixed tests
run: |
./v -silent test-self
run: ./v test-self

View File

@ -34,7 +34,7 @@ jobs:
- name: Self tests
run: |
./v -cg cmd\tools\vtest-self.v
./v -silent test-self
./v test-self
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
- name: Test v binaries
@ -43,4 +43,3 @@ jobs:
run: ./v build-examples
- name: v2 self compilation
run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v

View File

@ -34,9 +34,9 @@ jobs:
- name: Build local v
run: make -j4
- name: v test-cleancode
run: ./v -silent test-cleancode
run: ./v test-cleancode
- name: v test-fmt
run: ./v -silent test-fmt
run: ./v test-fmt
performance-regressions:
runs-on: ubuntu-20.04
@ -111,7 +111,7 @@ jobs:
- name: V self compilation with g++
run: ./v -cc g++-9 -no-std -cflags -std=c++11 -o v2 cmd/v && ./v2 -cc g++-9 -no-std -cflags -std=c++11 -o v3 cmd/v
## - name: Running tests with g++
## run: ./v -cc g++-9 -silent test-self
## run: ./v -cc g++-9 test-self
parser-silent: