From 6ce24870e5d57bea89fa86b25d9a451dea48ce6c Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Sun, 7 Jun 2020 14:24:18 +0200 Subject: [PATCH] travis: add test and test-results actions --- .travis.yml | 2 ++ cue.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da4655e..43133a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,8 @@ install: script: - python cue.py build + - python cue.py test + - python cue.py test-results # If you need to do more during install and build, # add a local directory to your module and do e.g. diff --git a/cue.py b/cue.py index 8338802..7d93301 100644 --- a/cue.py +++ b/cue.py @@ -862,7 +862,8 @@ def test_results(args): if has_test_results: call_make(['test-results'], parallel=0, silent=True) else: - print("{0}Base {1} does not implement 'test-results' target{2}".format(ANSI_YELLOW, setup['BASE'], ANSI_RESET)) + print("{0}Base in {1} does not implement 'test-results' target{2}" + .format(ANSI_YELLOW, places['EPICS_BASE'], ANSI_RESET)) fold_end('test.results', 'Sum up main module test results')