Skip to content

Commit 510954a

Browse files
committed
DEBUG: show where '*.mod' are stored.
1 parent 69496ae commit 510954a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/integration/linter.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
} from '../../src/lint/compilers';
3030
import { FortranLintingProvider } from '../../src/lint/provider';
3131
import { LogLevel, Logger } from '../../src/services/logging';
32-
import { EXTENSION_ID, pipInstall } from '../../src/util/tools';
32+
import { EXTENSION_ID, pipInstall, spawnAsPromise } from '../../src/util/tools';
3333

3434
suite('Linter VS Code commands', async () => {
3535
let doc: TextDocument;
@@ -96,6 +96,11 @@ suite('Linter integration', async () => {
9696
// need to implement a the compiler versioning see #523
9797
test('GNU - API call to doLint produces correct diagnostics', async () => {
9898
const diags = await linter['doLint'](doc);
99+
const command = 'find';
100+
const args = [root, '-name', '*.mod'];
101+
102+
const [stdout, stderr] = await spawnAsPromise(command, args);
103+
console.log(`FIND MODULE RESULTS: ${stdout}`);
99104
const ref: Diagnostic[] = [
100105
new Diagnostic(
101106
new Range(new Position(21 - 1, 18 - 1), new Position(21 - 1, 18 - 1)),

0 commit comments

Comments
 (0)