Skip to content

Commit

Permalink
First cut at running build
Browse files Browse the repository at this point in the history
I added a line to run the cmake.build command. It runs, but I'm not in
a position to test it at the moment. Also, I need to look up the
command and see if there are any command arguments that I should use.

issue #23
  • Loading branch information
brobeson committed Nov 19, 2022
1 parent fb9faf2 commit d4e40da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ export async function run_tests(
const { signal } = abort_controller;
cancel_token?.onCancellationRequested(() => abort_controller.abort());

vscode.commands.executeCommand("cmake.build");

const run = test_controller.createTestRun(run_request);
const test_queue = get_test_list(run_request, test_controller);
test_queue.forEach((test) => run.started(test));
Expand Down

0 comments on commit d4e40da

Please sign in to comment.