[Darshan-commits] [Git][darshan/darshan][dev-gitlab-ci] modify CI scripts to all return rather than exit
Shane Snyder
xgitlab at cels.anl.gov
Mon Mar 23 15:13:48 CDT 2020
Shane Snyder pushed to branch dev-gitlab-ci at darshan / darshan
Commits:
d1ef93a7 by Shane Snyder at 2020-03-23T15:13:14-05:00
modify CI scripts to all return rather than exit
- - - - -
6 changed files:
- .gitlab-ci.yml
- darshan-test/automated/common/build.sh
- darshan-test/automated/common/configure.sh
- darshan-test/automated/common/setup.sh
- darshan-test/automated/generic/configure.sh
- darshan-test/automated/theta/configure.sh
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -15,10 +15,8 @@ build_darshan:
script:
- source darshan-test/automated/common/setup.sh
- - cat setup-result.xml
- - echo "Hello World"
-# - source darshan-test/automated/common/configure.sh
-# - source darshan-test/automated/common/build.sh
+ - source darshan-test/automated/common/configure.sh
+ - source darshan-test/automated/common/build.sh
#.test_darshan:
# variables:
=====================================
darshan-test/automated/common/build.sh
=====================================
@@ -40,4 +40,4 @@ echo "
</testsuites>
" > build-result.xml
-exit $fcount
+return $fcount
=====================================
darshan-test/automated/common/configure.sh
=====================================
@@ -18,4 +18,4 @@ else
status=100
fi
-exit $status
+return $status
=====================================
darshan-test/automated/common/setup.sh
=====================================
@@ -26,4 +26,5 @@ echo "
</testsuite>
</testsuites>
" > setup-result.xml
+
return $status
=====================================
darshan-test/automated/generic/configure.sh
=====================================
@@ -39,4 +39,5 @@ echo "
</testsuite>
</testsuites>
" > configure-result.xml
-exit $fcount
+
+return $fcount
=====================================
darshan-test/automated/theta/configure.sh
=====================================
@@ -45,4 +45,5 @@ echo "
</testsuite>
</testsuites>
" > configure-result.xml
-exit $fcount
+
+return $fcount
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d1ef93a762be012d2eaf79e3b941c3f0de73c28d
--
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/d1ef93a762be012d2eaf79e3b941c3f0de73c28d
You're receiving this email because of your account on xgitlab.cels.anl.gov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20200323/d16da38d/attachment-0001.html>
More information about the Darshan-commits
mailing list