mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
tools: rename v test-compiler-full to v test-self
This commit is contained in:
2
.github/workflows/alpine.test.sh
vendored
2
.github/workflows/alpine.test.sh
vendored
@@ -15,7 +15,7 @@ ls -lat
|
||||
## try running the known failing tests first to get faster feedback
|
||||
./v test vlib/builtin/string_test.v vlib/strings/builder_test.v
|
||||
|
||||
./v test-compiler-full
|
||||
./v test-self
|
||||
|
||||
./v build-vbinaries
|
||||
|
||||
|
||||
60
.github/workflows/ci.yml
vendored
60
.github/workflows/ci.yml
vendored
@@ -104,8 +104,8 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
run: ./v -silent test-compiler-full
|
||||
- name: Self tests
|
||||
run: ./v -silent test-self
|
||||
- name: Test time functions in a timezone UTC-12
|
||||
run: TZ=Etc/GMT+12 ./v test vlib/time/
|
||||
- name: Test time functions in a timezone UTC-3
|
||||
@@ -155,7 +155,7 @@ jobs:
|
||||
env
|
||||
- name: Test V fixed tests
|
||||
run: |
|
||||
./v -silent test-compiler-full
|
||||
./v -silent test-self
|
||||
|
||||
macos:
|
||||
runs-on: macOS-latest
|
||||
@@ -204,8 +204,8 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
run: VJOBS=1 ./v -silent test-compiler-full
|
||||
- name: Self tests
|
||||
run: VJOBS=1 ./v -silent test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
- name: Build examples with -autofree
|
||||
@@ -285,11 +285,11 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
- name: Self tests
|
||||
run: |
|
||||
./v -silent test-compiler-full
|
||||
- name: Fixed tests (-prod)
|
||||
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-compiler-full
|
||||
./v -silent test-self
|
||||
- name: Self tests (-prod)
|
||||
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
- name: Build examples with -autofree
|
||||
@@ -370,11 +370,11 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
- name: Self tests
|
||||
run: |
|
||||
./v -silent test-compiler-full
|
||||
- name: Fixed tests (-prod)
|
||||
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-compiler-full
|
||||
./v -silent test-self
|
||||
- name: Self tests (-prod)
|
||||
run: ./v -o vprod -prod cmd/v && ./vprod -silent test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
- name: Build examples with -autofree
|
||||
@@ -428,8 +428,8 @@ jobs:
|
||||
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
||||
- name: Build V
|
||||
run: make -j4 && ./v -cc clang -cg -cflags -Werror -o v cmd/v
|
||||
- name: Fixed tests (-fsanitize=undefined)
|
||||
run: ./v -cc clang -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-compiler-full
|
||||
- name: Self tests (-fsanitize=undefined)
|
||||
run: ./v -cc clang -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-self
|
||||
|
||||
tests-sanitize-address:
|
||||
runs-on: ubuntu-20.04
|
||||
@@ -451,8 +451,8 @@ jobs:
|
||||
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
||||
- name: Build V
|
||||
run: make -j4 && ./v -cc clang -cg -cflags -Werror -o v cmd/v
|
||||
- name: Fixed tests (-fsanitize=address)
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-compiler-full
|
||||
- name: Self tests (-fsanitize=address)
|
||||
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-self
|
||||
|
||||
tests-sanitize-memory:
|
||||
runs-on: ubuntu-20.04
|
||||
@@ -474,8 +474,8 @@ jobs:
|
||||
## sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev libsdl2-mixer-dev libsdl2-image-dev
|
||||
- name: Build V
|
||||
run: make -j4 && ./v -cc clang -cg -cflags -Werror -o v cmd/v
|
||||
- name: Fixed tests (-fsanitize=memory)
|
||||
run: ./v -cflags -fsanitize=memory test-compiler-full
|
||||
- name: Self tests (-fsanitize=memory)
|
||||
run: ./v -cflags -fsanitize=memory test-self
|
||||
|
||||
# ubuntu-autofree-selfcompile:
|
||||
# runs-on: ubuntu-20.04
|
||||
@@ -516,7 +516,7 @@ jobs:
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Test V fixed tests
|
||||
run: |
|
||||
./v -silent test-compiler-full
|
||||
./v -silent test-self
|
||||
|
||||
# ubuntu-musl:
|
||||
# runs-on: ubuntu-20.04
|
||||
@@ -543,8 +543,8 @@ jobs:
|
||||
# ## run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||
# - name: quick debug
|
||||
# run: ./v -stats vlib/strconv/format_test.v
|
||||
# - name: Fixed tests
|
||||
# run: ./v -silent test-compiler-full
|
||||
# - name: Self tests
|
||||
# run: ./v -silent test-self
|
||||
|
||||
ubuntu-llvm-mingw:
|
||||
runs-on: ubuntu-20.04
|
||||
@@ -579,9 +579,9 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
- name: Self tests
|
||||
run: |
|
||||
.\v.exe -silent test-compiler-full
|
||||
.\v.exe -silent test-self
|
||||
# - name: Test
|
||||
# run: |
|
||||
# .\v.exe -silent test-all
|
||||
@@ -621,10 +621,10 @@ jobs:
|
||||
run: |
|
||||
./v cmd/tools/test_if_v_test_system_works.v
|
||||
./cmd/tools/test_if_v_test_system_works
|
||||
- name: Fixed tests
|
||||
- name: Self tests
|
||||
run: |
|
||||
./v -cg cmd\tools\vtest-compiler-full.v
|
||||
./v -silent test-compiler-full
|
||||
./v -cg cmd\tools\vtest-self.v
|
||||
./v -silent test-self
|
||||
- name: Build examples
|
||||
run: ./v build-examples
|
||||
# - name: Test
|
||||
@@ -657,9 +657,9 @@ jobs:
|
||||
run: |
|
||||
.\v.exe cmd/tools/test_if_v_test_system_works.v
|
||||
.\cmd\tools\test_if_v_test_system_works.exe
|
||||
- name: Fixed tests
|
||||
- name: Self tests
|
||||
run: |
|
||||
.\v.exe -silent test-compiler-full
|
||||
.\v.exe -silent test-self
|
||||
# - name: Test
|
||||
# run: |
|
||||
# .\v.exe -silent test-all
|
||||
@@ -728,7 +728,7 @@ jobs:
|
||||
- name: V self compilation with g++
|
||||
run: ./v -cc g++-9 -o v2 cmd/v && ./v2 -cc g++-9 -o v3 cmd/v
|
||||
## - name: Running tests with g++
|
||||
## run: ./v -cc g++-9 -silent test-compiler-full
|
||||
## run: ./v -cc g++-9 -silent test-self
|
||||
|
||||
install-modules:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
6
.github/workflows/periodic.yml
vendored
6
.github/workflows/periodic.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Symlink V
|
||||
run: sudo ./v symlink
|
||||
- name: Run network tests
|
||||
run: ./v -d network -silent test-compiler-full
|
||||
run: ./v -d network -silent test-self
|
||||
|
||||
|
||||
network-tests-macos:
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: Ensure thirdparty/cJSON/cJSON.o is compiled, before running tests.
|
||||
run: ./v examples/json.v
|
||||
- name: Run network tests
|
||||
run: ./v -d network -silent test-compiler-full
|
||||
run: ./v -d network -silent test-self
|
||||
|
||||
|
||||
network-windows-msvc:
|
||||
@@ -55,4 +55,4 @@ jobs:
|
||||
echo $VFLAGS
|
||||
.\make.bat -msvc
|
||||
- name: Run network tests
|
||||
run: .\v.exe -d network -silent test-compiler-full
|
||||
run: .\v.exe -d network -silent test-self
|
||||
|
||||
Reference in New Issue
Block a user