Commit Graph

63 Commits

Author SHA1 Message Date
Ralph Lange
55038b7315 Improve test make-target logic
- make runtests if no valid test-results target exists
(closes #41)
2020-05-26 17:32:20 +02:00
Ralph Lange
bb9b59156c travis: set CURDIR in build.sh (fixes #41) 2020-05-26 09:36:00 +02:00
Ralph Lange
ba5508b39e travis: update README
(fixes #19)
2020-05-20 18:59:45 +02:00
Ralph Lange
11e2f1852b Do not run 'make test-results' on Base 3.14
- also add tests for this
2020-05-13 12:35:38 +02:00
Ralph Lange
1583d41197 Skip running test-results target if not defined 2020-05-05 11:59:25 +02:00
Michael Davidsaver
27a1224d6d Refresh MSI 3.14 patch to allow using it
- set MSI to $EPICS_BASE_BIN/msi
- make patch file more symmetrical (patch with -p1)
- closes #20 (again), closes #36
2020-04-30 09:19:03 +02:00
Ralph Lange
e91a588370 travis: copy RELEASE.local to top of checkout
- closes #32
  (fix is in AppVeyor do.py script as per 88831439)
2020-04-27 11:34:01 +02:00
Ralph Lange
29e657d585 Run tests using parallel make (reducing build time) 2020-04-27 11:34:01 +02:00
Ralph Lange
4413c7d75e travis: fix build.sh (set EPICS_BASE correctly) for BASE=SELF 2020-04-24 19:16:12 +02:00
Ralph Lange
48b15417a6 travis: fix RTEMS cross builds for Base 3.15 2020-04-24 19:12:20 +02:00
Ralph Lange
d0f93f1920 travis: fix for EXTRA arguments with spaces/quotes
- feed EXTRA variables into an array to be properly expanded
2020-04-24 12:27:30 +02:00
Ralph Lange
177dfd4615 travis: fix /etc/hosts issue on bionic image 2020-04-23 14:11:17 +02:00
Ralph Lange
3bd2bb6dff travis: consider base build (BASE=SELF) 2020-04-22 13:36:16 +02:00
Michael Davidsaver
a34bb7d2b2 travis: always show test-results
even if one of the tests crashes
2020-04-08 14:52:06 +02:00
Ralph Lange
94fdfbe802 travis: fix MSI patch file location 2020-04-08 14:50:06 +02:00
Ralph Lange
a8bee0552d Add MSI 1.7 to any Base 3.14 dependency
- add test for patch being applied
- fixes #20
2020-04-06 17:46:25 +02:00
Ralph Lange
eb471d9539 Recompile remaining MODULE list after a miss
(fixes #18, closes #21)
2020-03-02 18:22:43 +01:00
Ralph Lange
e3dace9ee3 Fix FOO_RECURSIVE behavior
(fixes #25, closes #24)
2020-03-02 15:12:28 +01:00
Ralph Lange
b0ab3bf333 Allow CACHEDIR to be set externally.
fixes #22, closes #23
2020-02-28 12:40:40 +01:00
Ralph Lange
17ce951e99 Merge pull request #17 from EuropeanSpallationSource/overwrite-configure-RELEASE
travis: overwrite configure/RELEASE instead of appending to it
2020-02-12 16:42:54 +00:00
Ralph Lange
7ae7054196 Make ADD_MODULES built before MODULES 2020-02-12 13:50:11 +00:00
Torsten Bögershausen
aee11f266b Overwrite configure/RELEASE
The current scripts append the line

-include $(TOP)/../RELEASE.local

at the end of the configure/RELEASE file (if needed).
While this works for most EPICS modules, there is one drawback:

Definitions like
SUPPORT=/myfavorite/build/server
are not allways overwritten (better say undefined).

Fix this and create a configure/RELEASE file which is the same
for all EPICS modules.
Simply overwrite configure/RELEASE with what we want.

Thanks to the EPICS community for this suggestion
2020-02-12 13:08:56 +01:00
Ralph Lange
aa8f35f086 Support ADD_MODULES to add specific modules to jobs
(closes #14)
2020-01-17 13:01:34 +01:00
Ralph Lange
8233b9f81b travis: auto-fix missing inclusion of ../RELEASE.local 2020-01-10 16:27:33 +01:00
Ralph Lange
7de5a7edc3 travis: pre-install homebrew packages (in global addons)
(closes #13)
2019-12-18 17:24:19 +01:00
Ralph Lange
80ab30469e travis: avoid spawning 'tr' by using bash builtins 2019-12-18 17:22:11 +01:00
4dfd098545 travis: consistently use SETUP_PATH user variable 2019-12-18 17:00:46 +01:00
3929851deb travis: implement die() in utils.sh 2019-12-18 16:58:31 +01:00
e6f722914c travis: fix error message formats 2019-12-18 16:57:09 +01:00
d4ab170b3c avoid 'tr' calls to improve performance a bit 2019-12-16 14:37:32 +01:00
487d8eb287 refer to user variable, not internal variable in error message 2019-12-13 14:58:57 +01:00
c7aca7cd73 implement die function 2019-12-13 14:39:53 +01:00
bdcb2f3173 fix error message formats 2019-12-13 14:03:27 +01:00
64e382b46e enable line feed after fold_start message 2019-12-12 10:44:51 +01:00
add7bbcf88 enable escape codes for color 2019-12-12 10:43:26 +01:00
Ralph Lange
82d962639b Load setup files instead of sourcing them
- needed for same setup files to work on Windows
  (where PowerShell is used instead of bash)
- removes ugly bashism to allow overriding from .travis.yml
- adds a proper (yet small) syntax
Also adds tests for the new syntax and updates the README.
2019-12-11 09:50:50 +01:00
Ralph Lange
1d4d6cc617 travis: set tag variable to default
Fix bug found by Dirk Zimoch: set the <MODULE> variable to the default instead of just using the default value when unset.
2019-12-09 09:43:49 +01:00
Ralph Lange
40fe8f3852 travis: update and improve documentation 2019-12-06 11:34:56 +01:00
Ralph Lange
de43213873 travis: export EPICS_BASE and EPICS_HOST_ARCH 2019-12-06 11:34:55 +01:00
Ralph Lange
ba03552b87 travis: make setting EPICS_HOST_ARCH more robust 2019-12-06 11:31:10 +01:00
Ralph Lange
54a26f547f travis: improve logging (especially for terse output) 2019-12-06 11:31:09 +01:00
Ralph Lange
455ead3208 travis: add ANSI color definitions 2019-11-26 09:06:53 +01:00
Ralph Lange
9df85ff63e travis: fix RTEMS compiler download logic 2019-11-26 09:05:04 +01:00
Ralph Lange
3a811924d0 travis: fix RTEMS builds (needs Base >= 3.16.2) 2019-11-25 16:19:23 +01:00
Ralph Lange
f5a502301e travis: make verbosity (set -x, make -s) configurable 2019-11-21 14:33:47 +01:00
Ralph Lange
a3858715a2 travis: pre-install re2c for MacOS builds (sequencer) 2019-11-21 12:46:43 +01:00
Ralph Lange
8373ad65f7 Make source_set() detect empty setup search path; add test 2019-11-21 10:25:40 +01:00
Ralph Lange
6353a7df04 travis: fix fold control echo strings 2019-11-20 16:37:14 +01:00
Ralph Lange
19695e2d45 travis: fix bug in update_release_local and add test 2019-11-20 14:54:04 +01:00
Ralph Lange
d84eb6e857 travis: fix 'sed -i' command for MacOS 2019-11-19 13:10:37 +01:00