v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler

pull/9732/head
Delyan Angelov 2021-04-13 20:59:48 +03:00
parent 80dbe8db1c
commit 365f9fcfc5
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 0 additions and 15 deletions

View File

@ -23,9 +23,6 @@ const (
'test-fmt',
'test-parser',
'test-self',
'test-fixed', /* deprecated by test-self */
'test-compiler', /* deprecated by test-self */
'test-compiler-full', /* deprecated by test-self */
'test-cleancode',
'check-md',
'repl',
@ -84,18 +81,6 @@ fn main() {
eprintln('-usecache is currently disabled on windows')
exit(1)
}
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-self`, `v build-examples`, `v build-tools` or `v build-vbinaries` instead.')
exit(1)
}
if command == 'test-vet' {
eprintln('Please use `v test-cleancode` instead.')
exit(1)
}
// Start calling the correct functions/external tools
// Note for future contributors: Please add new subcommands in the `match` block below.
if command in external_tools {