[Git][cmucl/cmucl][issue-101-clang-trapping-math] Split test phase into two

Raymond Toy gitlab at common-lisp.net
Fri Feb 5 04:34:55 UTC 2021



Raymond Toy pushed to branch issue-101-clang-trapping-math at cmucl / cmucl


Commits:
56ba2df2 by Raymond Toy at 2021-02-04T20:34:29-08:00
Split test phase into two

Split the tests into two parts.  One for our test suite (test) and one
for the ansi-tests (ansi-test).

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -7,6 +7,7 @@ stages:
   - install
   - build
   - test
+  - ansi-test
   - benchmark
 
 cache:
@@ -56,15 +57,31 @@ linux:test:
     # Needs artifacts from build (dist/)
     - job: linux:build
       artifacts: true
+  script:
+    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
+    - cd ansi-test
+    - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
+    - grep 'No unexpected \(successes\|failures\)' test.out
+
+linux:ansi-test:
+  stage: ansi-test
+  tags:
+    - linux
+  artifacts:
+    paths:
+      - ansi-test/test.out
+  needs:
+    # Needs artifacts from build (dist/)
+    - job: linux:build
+      artifacts: true
   before_script:
     - git clone https://gitlab.common-lisp.net/cmucl/ansi-test.git
     - (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
   script:
-    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
     - cd ansi-test
     - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
     - grep 'No unexpected \(successes\|failures\)' test.out
-
+    
 linux:benchmark:
   stage: benchmark
   tags:
@@ -121,21 +138,33 @@ osx:test:
     - osx
   artifacts:
     paths:
-      - ansi-test/test.out
       - test.log
   needs:
     # Needs artifacts from build (dist/)
     - job: osx:build
       artifacts: true
+  script:
+    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
+
+osx:ansi-test:
+  stage: ansi-test
+  tags:
+    - osx
+  artifacts:
+    paths:
+      - ansi-test/test.out
+  needs:
+    # Needs artifacts from build (dist/)
+    - job: osx:build
+      artifacts: true
   before_script:
     - git clone https://gitlab.common-lisp.net/cmucl/ansi-test.git
     - (cd ansi-test; git checkout rtoy-cmucl-expected-failures)
   script:
-    - bin/run-tests.sh -l dist/bin/lisp 2>&1 | tee test.log
     - cd ansi-test
     - make LISP="../dist/bin/lisp -batch -noinit -nositeinit"
     - grep 'No unexpected \(successes\|failures\)' test.out 
-
+  
 osx:benchmark:
   stage: benchmark
   tags:



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/56ba2df2b2843a647b7bba2e1e58358fabbf6517

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/56ba2df2b2843a647b7bba2e1e58358fabbf6517
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20210205/ca1cbe84/attachment-0001.html>


More information about the cmucl-cvs mailing list