[PATCH] D77365: [lit] Cleanly exit on user keyboard interrupt

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 12:26:25 PDT 2020


rnk accepted this revision.
rnk added a comment.

Worked well, this was the output I got:

  $ ninja -j900 check-llvm
  [1 processes, 0/2 @ ?/s : 0.000s ] ACTION //llvm/test:check-llvm(//llvm/utils/gn/build/toolchain:win)
  -- Testing: 36824 tests, 32 workers --
  Testing:  0
  FAIL: LLVM-Unit :: CodeGen/./CodeGenTests.exe/MachineInstrBundleIteratorTest.CheckForBundles (2062 of 36824)
  ******************** TEST 'LLVM-Unit :: CodeGen/./CodeGenTests.exe/MachineInstrBundleIteratorTest.CheckForBundles' FAILED ********************
  Note: Google Test filter = MachineInstrBundleIteratorTest.CheckForBundles
  [==========] Running 1 test from 1 test case.
  [----------] Global test environment set-up.
  [----------] 1 test from MachineInstrBundleIteratorTest
  [ RUN      ] MachineInstrBundleIteratorTest.CheckForBundles
  
  ********************
  Testing:  0  interrupted by user, skipping remaining tests
  
  Testing Time: 5.89s
    Expected Passes    : 1747
  ninja: build stopped: interrupted by user.

The second time I tried, my interrupt got delivered to some random clang subprocesses, but after mashing Ctrl C enough it went through... Anyway, the new state is better than the old. Thanks a lot!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77365/new/

https://reviews.llvm.org/D77365





More information about the llvm-commits mailing list