1
0
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:
Delyan Angelov
2021-01-19 10:41:51 +02:00
parent 85bcfdd636
commit 927606dc39
10 changed files with 48 additions and 47 deletions

View File

@@ -14,7 +14,7 @@ but which are used less frequently by users:
test-fmt Test if all files in the current directory are formatted properly.
test-compiler-full Test if V is working properly by running all tests, including the compiler ones.
test-self Test if V is working properly by running all tests, including the compiler ones.
NB: this can 1-2 minutes to run.
test-parser Test that the V parser works with the given files, as if

View File

@@ -22,9 +22,10 @@ const (
'test-all', /* runs most of the tests and other checking tools, that will be run by the CI */
'test-fmt',
'test-parser',
'test-fixed', /* deprecated by test-compiler-full */
'test-compiler', /* deprecated by test-compiler-full */
'test-compiler-full',
'test-self',
'test-fixed', /* deprecated by test-self */
'test-compiler', /* deprecated by test-self */
'test-compiler-full', /* deprecated by test-self */
'test-cleancode',
'repl',
'complete',
@@ -79,12 +80,12 @@ fn main() {
eprintln('-usecache is currently disabled on windows')
exit(1)
}
if command == 'test-fixed' {
eprintln('Please use `v test-compiler-full` instead.')
if command in ['test-fixed', 'test-compiler-full'] {
eprintln('Please use `v test-self` instead.')
exit(1)
}
if command == 'test-compiler' {
eprintln('Please use either `v test-all`, `v test-compiler-full`, `v build-examples`, `v build-tools` or `v build-vbinaries` instead.')
eprintln('Please use either `v test-all`, `v test-self`, `v build-examples`, `v build-tools` or `v build-vbinaries` instead.')
exit(1)
}
if command == 'test-vet' {