From ed956f23cbe2c7918f1c609e27817133d10ae059 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Fri, 6 Apr 2018 12:36:06 -0700 Subject: [PATCH] [travis] report bail as failing test case --- .travis/runner.ls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis/runner.ls b/.travis/runner.ls index 0b2b5deeb..125f3d5e2 100644 --- a/.travis/runner.ls +++ b/.travis/runner.ls @@ -14,6 +14,10 @@ export class Urbit # @reset-listeners! process.on \exit ~> @pty.write '\04' # send EOF to gracefully checkpoint + @pty.on \exit (code,signal)~> + | code => process.exit code + | signal => process.exit 128 + signal # repack exit code + | _ => #TODO report if unexpected? # note: (...args)-> console.log "\n#{'_'*40}\nnode:".blue, ...args warn: (...args)-> console.log "\n#{'!'*40}\nnode:".red, ...args