bonnefoa / Shaker

Interactive build tool for haskell
ISC License
9 stars 1 forks source link

^C while testing / compiling #3

Closed dduponchel closed 14 years ago

dduponchel commented 14 years ago

A ^C usually quits shaker, but not while testing (some tests fail, but the test suite continues) :

Loading package ffi-1.0 ... linking ... done.
### Error in:   17                          ^C
shaker: interrupted
### Error in:   18                          ^C
shaker: interrupted
### Error in:   19                          ^C
shaker: interrupted
Cases: 31  Tried: 20  Errors: 3  Failures: 0[ 5 of 31] Compiling Shaker.RegexTest ( /home/user/shaker/testsuite/tests/Shaker/RegexTest.hs, target/Shaker/RegexTest.o )

While compiling, the task ends and gives back the shaker prompt :

[26 of 31] Compiling Shaker.SourceHelperTest ( /home/user/shaker/testsuite/tests/Shaker/SourceHelperTest.hs, target/Shaker/SourceHelperTest.o )
^C
testsuite/tests/RunTestTH.hs:26:14:
    Exception when trying to run compile-time code:
      shaker: interrupted
      Code: thListProperties
    In the expression: $thListProperties
    In the definition of `propLists': propLists = $thListProperties
---------- End action ---------------------------
%

^C killing the current task is interesting, why not a "type Quit to exit Shaker", like vim ?