Skip to content

Commit f812765

Browse files
committed
Debug suspending lldb contract test suite
1 parent d5a5a74 commit f812765

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/integration-tests/debugger/lldb.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,21 @@ suite("lldb contract test suite", () => {
2121
let workspaceContext: WorkspaceContext;
2222

2323
suiteSetup(async () => {
24+
console.log(">>> lldb contract test suite setup");
2425
workspaceContext = await activateExtension();
26+
console.log(">>> lldb contract test suite setup complete");
2527
});
2628

2729
suiteTeardown(async () => {
30+
console.log(">>> lldb contract test suite teardown");
2831
await deactivateExtension();
32+
console.log(">>> lldb contract test suite teardown complete");
2933
});
3034

3135
test("getLldbProcess Contract Test, make sure the command returns", async () => {
36+
console.log(">>> getLldbProcess Contract Test started");
3237
const result = await getLldbProcess(workspaceContext);
38+
console.log(">>> getLldbProcess process result", result);
3339

3440
// Assumption: machine will always return some process
3541
expect(result).to.be.an("array");
@@ -39,10 +45,13 @@ suite("lldb contract test suite", () => {
3945
expect(item).to.have.property("pid").that.is.a("number");
4046
expect(item).to.have.property("label").that.is.a("string");
4147
});
48+
console.log(">>> getLldbProcess process done!");
4249
});
4350

4451
test("getLLDBLibPath Contract Test, make sure we can find lib LLDB", async () => {
52+
console.log(">>> getLldbProcess Contract Test 2 started");
4553
const libPath = await getLLDBLibPath(workspaceContext.toolchain);
54+
console.log(">>> getLldbProcess process result 2", libPath);
4655

4756
// Check the result for various platforms
4857
if (process.platform === "linux") {
@@ -55,5 +64,6 @@ suite("lldb contract test suite", () => {
5564
// In other platforms, the path hint should be returned directly
5665
expect(libPath.success).to.be.a("string");
5766
}
67+
console.log(">>> getLldbProcess process 2 done!");
5868
});
5969
});

0 commit comments

Comments
 (0)