From 365f9fcfc558ff2207da805fcc72e04127d11376 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 13 Apr 2021 20:59:48 +0300 Subject: [PATCH] v.v: cleanup deprecated commands test-fixed, test-compiler-full, test-compiler --- cmd/v/v.v | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cmd/v/v.v b/cmd/v/v.v index 3550c53d29..d7a30c919d 100644 --- a/cmd/v/v.v +++ b/cmd/v/v.v @@ -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 {