Skip to content
  • Nico Rieck's avatar
    lit: Support cancellation on Windows · b21ebec2
    Nico Rieck authored
    The current machinery using KeyboardInterrupt for canceling doesn't work
    with multiple threads on Windows as it just cancels the currently run tests
    but the runners continue.
    
    We install a handler for Ctrl-C which stops the provider from providing any
    more tests to the runners. Together with aborting all currently running
    tests, this brings lit to a halt.
    
    llvm-svn: 186695
    b21ebec2
Loading