diff --git a/Makefile b/Makefile index 1071ef9..3637477 100644 --- a/Makefile +++ b/Makefile @@ -37,4 +37,3 @@ travis-ci: ert-compile $(EMACS) --version python --version $(TESTEIN) --no-func-test --clean-elc -e $(EMACS) - tail -n3 log/test-load_messages_batch_$(EMACS).log diff --git a/tools/testein.py b/tools/testein.py index 4f4e1e1..6a3a6ac 100755 --- a/tools/testein.py +++ b/tools/testein.py @@ -166,12 +166,17 @@ class TestRunner(BaseRunner): return self.proc def report(self): - if self.proc.wait() != 0: + (stdout, _) = self.proc.communicate() + if self.proc.returncode != 0: print "{0} failed".format(self.testfile) - print self.proc.stdout.read() + print stdout self.failed = True else: print "{0} OK".format(self.testfile) + for line in reversed(stdout.splitlines()): + if line.startswith('Ran'): + print line + break self.failed = False return int(self.failed)