Skip to content

Commit 235fa60

Browse files
committed
moreprints
1 parent 051ddef commit 235fa60

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

apps/test/test-1.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,28 +151,43 @@ def _run( self, args ) :
151151

152152
for i in range( 0, args["repeat"].value ) :
153153

154+
print( "test 1", flush = True )
155+
154156
testSuite = unittest.TestSuite()
157+
158+
print( "test 2", flush = True )
155159
for name in args["testCases"] :
160+
print( "test 1", name, flush = True )
156161
testCase = unittest.defaultTestLoader.loadTestsFromName( name )
157162
testSuite.addTest( testCase )
158163

159164
if args["showCategories"].value :
160165
print( " ".join( sorted( GafferTest.TestRunner.categories( testSuite ) ) ) )
161166
return 0
162167

168+
print( "test 3", flush = True )
169+
163170
GafferTest.TestRunner.filterCategories( testSuite, args["category"].value, args["excludedCategories"].value )
164171

172+
print( "test 4", flush = True )
173+
165174
testRunner = GafferTest.TestRunner( previousResultsFile = args["previousOutputFile"].value )
166175
if args["stopOnFailure"].value :
167176
testRunner.failfast = True
168177

178+
print( "test 5", flush = True )
179+
169180
with warnings.catch_warnings() :
170181
warnings.simplefilter( "error", DeprecationWarning )
171182
testResult = testRunner.run( testSuite )
172183

184+
print( "test 6", flush = True )
185+
173186
if args["outputFile"].value :
174187
testResult.save( args["outputFile"].value )
175188

189+
print( "test 7", flush = True )
190+
176191
if not testResult.wasSuccessful() :
177192
return 1
178193

python/IECoreRenderManTest/RendererTest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
import GafferTest
6969
import GafferScene
7070

71+
print( "imported Gaffer bits", flush = True )
72+
7173
@unittest.skipIf( GafferTest.inCI() and os.name == "nt", "RenderMan cannot get license on Windows.")
7274
class RendererTest( GafferTest.TestCase ) :
7375

0 commit comments

Comments
 (0)