File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -995,7 +995,7 @@ testall: all platform
995
995
$(TESTRUNNER) -u all $(TESTOPTS)
996
996
997
997
teststackless: all platform
998
- pushd Stackless/unittests; $(RUNSHARED) ../../$(BUILDPYTHON) -E -tt runAll.py; popd
998
+ $(TESTPYTHON) Stackless/unittests/ runAll.py
999
999
1000
1000
# Run the test suite for both architectures in a Universal build on OSX.
1001
1001
# Must be run on an Intel box.
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ What's New in Stackless 3.X.X?
9
9
10
10
*Release date: 20XX-XX-XX*
11
11
12
+ - https://bitbucket.org/stackless-dev/stackless/issues/99
13
+ On UNIX like systems you can use the command
14
+ $ make teststackless
15
+ to run the Stackless unit tests. Previously the command required some non
16
+ POSIX commands.
17
+
12
18
- https://bitbucket.org/stackless-dev/stackless/issues/97
13
19
Fix the stack switching for optimized builds for all Unix-like architectures
14
20
except amd64, where it was already OK. This change removes the "static"
Original file line number Diff line number Diff line change @@ -82,7 +82,8 @@ def linger(self):
82
82
83
83
def join (self ):
84
84
self .shutdown .set ()
85
- return super (LingeringThread , self ).join ()
85
+ super (LingeringThread , self ).join ()
86
+ time .sleep (0.01 ) # give the thread a chance to clean up
86
87
87
88
def __enter__ (self ):
88
89
pass
@@ -351,6 +352,7 @@ def test_tasklet_from_dead_thread(self):
351
352
theThread , t = self .create_thread_task ()
352
353
self .assertTrue (t .alive )
353
354
theThread .join ()
355
+ time .sleep (0.01 ) # give the thread a short time to clean up
354
356
# now the tasklet should have been killed.
355
357
self .assertFalse (t .alive )
356
358
@@ -360,6 +362,7 @@ def test_removed_tasklet_from_dead_thread(self):
360
362
t .remove ()
361
363
self .assertFalse (t .scheduled )
362
364
theThread .join ()
365
+ time .sleep (0.01 ) # give the thread a short time to clean up
363
366
# now the tasklet should have been killed.
364
367
self .assertFalse (t .alive )
365
368
You can’t perform that action at this time.
0 commit comments