File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
client/testing/testController/pytest
testTestingRootWkspc/errorWorkspace Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
7272 } ) ;
7373
7474 try {
75+ console . log ( 'EJFB run tests new' ) ;
7576 await this . runTestsNew (
7677 uri ,
7778 testIds ,
@@ -203,6 +204,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
203204 }
204205 } ) ;
205206
207+ console . log ( 'EJFB before execObservable' ) ;
206208 const result = execService ?. execObservable ( runArgs , spawnOptions ) ;
207209 resultProc = result ?. proc ;
208210
@@ -213,11 +215,13 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter {
213215 const out = utils . fixLogLinesNoTrailing ( data . toString ( ) ) ;
214216 runInstance ?. appendOutput ( out ) ;
215217 this . outputChannel ?. append ( out ) ;
218+ console . log ( 'EJFB stdout' , out ) ;
216219 } ) ;
217220 result ?. proc ?. stderr ?. on ( 'data' , ( data ) => {
218221 const out = utils . fixLogLinesNoTrailing ( data . toString ( ) ) ;
219222 runInstance ?. appendOutput ( out ) ;
220223 this . outputChannel ?. append ( out ) ;
224+ console . log ( 'EJFB stderr' , out ) ;
221225 } ) ;
222226 result ?. proc ?. on ( 'exit' , ( code , signal ) => {
223227 console . log ( 'EJFB on exit' ) ;
Original file line number Diff line number Diff line change 77
88class TestSegmentationFault (unittest .TestCase ):
99 def cause_segfault (self ):
10+ print ("Causing a segmentation fault" )
1011 ctypes .string_at (0 ) # Dereference a NULL pointer
1112
1213 def test_segfault (self ):
13- assert True
1414 self .cause_segfault ()
15+ assert True
1516
1617
1718if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments