[GHC] #12554: Testsuite exhibits large amount of framework failures
GHC
ghc-devs at haskell.org
Sun Oct 16 04:46:50 UTC 2016
#12554: Testsuite exhibits large amount of framework failures
-------------------------------------+-------------------------------------
Reporter: Phyx- | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: 8.0.1
Resolution: | Keywords:
Operating System: Windows | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Here is a fairly minimal testcase which reproduces the issue. Phyx-, can
you verify that this doesn't crash in your working environment?
{{{#!hs
#!/usr/bin/python
import sys
import subprocess
import os
import os.path
import time
import shutil
d = 'testdir'
f = d + '/test.exe'
log = d + '/log'
if os.path.exists(d):
shutil.rmtree(d)
while True:
os.makedirs(d)
shutil.copy('test.exe', f)
subprocess.check_call(f, stdout=open(log, 'w'))
time.sleep(0.04)
shutil.rmtree(d)
print '.',
sys.stdout.flush()
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12554#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list