From c6d1726a7086835ab20676ab524885b91c213cca Mon Sep 17 00:00:00 2001 From: jaby Date: Sun, 25 Sep 2022 18:21:28 +0200 Subject: [PATCH] Improved running the tests again --- src/Tools/Tools.code-workspace | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Tools/Tools.code-workspace b/src/Tools/Tools.code-workspace index 300041c7..74791f63 100644 --- a/src/Tools/Tools.code-workspace +++ b/src/Tools/Tools.code-workspace @@ -24,6 +24,11 @@ "kind": "build", } }, + { + "label": "cargo test", + "type": "shell", + "command": "./run_cargo ${input:project} test release ${input:cargo target}" + }, { "label": "run test make", "type": "shell", @@ -34,7 +39,7 @@ "options": { "cwd": "${workspaceFolder}/Tests" }, - "dependsOn": ["cargo"], + "dependsOn": ["cargo test"], "dependsOrder": "sequence" } ], @@ -55,7 +60,7 @@ { "id": "cargo cmd", "type":"pickString", - "options": ["build", "check", "clean", "run", "test"], + "options": ["build", "check", "clean", "run"], "default": "build", "description": "cargo command to run" },