@@ -17,32 +17,45 @@ import { getLLDBLibPath, getLldbProcess } from "../../../src/debugger/lldb";
1717import { WorkspaceContext } from "../../../src/WorkspaceContext" ;
1818import { activateExtension , deactivateExtension } from "../utilities/testutilities" ;
1919
20- suite ( "lldb contract test suite" , ( ) => {
20+ suite . skip ( "lldb contract test suite" , ( ) => {
2121 let workspaceContext : WorkspaceContext ;
2222
23- suiteSetup ( async ( ) => {
23+ setup ( async ( ) => {
24+ console . log ( ">>> lldb contract test suite setup" ) ;
2425 workspaceContext = await activateExtension ( ) ;
26+ console . log ( ">>> lldb contract test suite setup complete" ) ;
2527 } ) ;
2628
27- suiteTeardown ( async ( ) => {
29+ teardown ( 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" ) ;
3339
3440 // Assumption: machine will always return some process
3541 expect ( result ) . to . be . an ( "array" ) ;
42+ console . log ( ">>> getLldbProcess process result 1" ) ;
3643
3744 // If result is an array, assert that each element has a pid and label
3845 result ?. forEach ( item => {
46+ console . log ( ">>> getLldbProcess process result 2" ) ;
3947 expect ( item ) . to . have . property ( "pid" ) . that . is . a ( "number" ) ;
48+ console . log ( ">>> getLldbProcess process result 3" ) ;
4049 expect ( item ) . to . have . property ( "label" ) . that . is . a ( "string" ) ;
50+ console . log ( ">>> getLldbProcess process result 4" ) ;
4151 } ) ;
52+ console . log ( ">>> getLldbProcess process done!" ) ;
4253 } ) ;
4354
4455 test ( "getLLDBLibPath Contract Test, make sure we can find lib LLDB" , async ( ) => {
56+ console . log ( ">>> getLldbProcess Contract Test 2 started" ) ;
4557 const libPath = await getLLDBLibPath ( workspaceContext . toolchain ) ;
58+ console . log ( ">>> getLldbProcess process result 2" ) ;
4659
4760 // Check the result for various platforms
4861 if ( process . platform === "linux" ) {
@@ -55,5 +68,6 @@ suite("lldb contract test suite", () => {
5568 // In other platforms, the path hint should be returned directly
5669 expect ( libPath . success ) . to . be . a ( "string" ) ;
5770 }
71+ console . log ( ">>> getLldbProcess process 2 done!" ) ;
5872 } ) ;
5973} ) ;
0 commit comments