[Darshan-commits] [Git][darshan/darshan][dev-new-regression-tests] try static/dynamic theta tests for gitlab ci

Shane Snyder xgitlab at cels.anl.gov
Fri Apr 24 10:30:42 CDT 2020



Shane Snyder pushed to branch dev-new-regression-tests at darshan / darshan


Commits:
672cd7e9 by Shane Snyder at 2020-04-24T10:30:18-05:00
try static/dynamic theta tests for gitlab ci

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -3,7 +3,8 @@ variables:
 
 stages:
   - build
-  - test
+  - test_static
+  - test_dynamic
 
 build_darshan:
   tags:
@@ -29,7 +30,7 @@ build_darshan:
     paths:
       - install/
 
-test_darshan:
+test_darshan_static:
   tags:
     - shell
     - ecp-theta
@@ -40,12 +41,41 @@ test_darshan:
     - if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
       when: on_success
 
-  stage: test
+  stage: test_static
 
   script:
-    - ls $PWD/install
-    - ls $PWD/install/bin
+    - export CRAYPE_LINK_TYPE=dynamic
     - darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
+    - ldd $PWD/scratch/mpi-io-test
+    - nm $PWD/scratch/mpi-io-test | grep darshan
+    - nm $PWD/scratch/mpi-io-test | grep MPI
+
+  artifacts:
+    paths:
+        - $PWD/scratch/*.darshan
+        - $PWD/scratch/*.debuglog
+        - $PWD/scratch/*.out
+        - $PWD/scratch/*.err
+
+test_darshan_dynamic:
+  tags:
+    - shell
+    - ecp-theta
+
+  rules:
+    - if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
+      when: on_success
+    - if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
+      when: on_success
+
+  stage: test_dynamic
+
+  script:
+    - export CRAYPE_LINK_TYPE=dynamic
+    - darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
+    - ldd $PWD/scratch/mpi-io-test
+    - nm $PWD/scratch/mpi-io-test | grep darshan
+    - nm $PWD/scratch/mpi-io-test | grep MPI
 
   artifacts:
     paths:



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/672cd7e9ebf3b8da190dc9197b02309690f1f868

-- 
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/672cd7e9ebf3b8da190dc9197b02309690f1f868
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/20200424/f776e7d6/attachment-0001.html>


More information about the Darshan-commits mailing list