You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2019/12/11 21:16:42 UTC

[couchdb] branch jenkins-davisp-test updated: Run each eunit suite individually

This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch jenkins-davisp-test
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/jenkins-davisp-test by this push:
     new 5588a2b  Run each eunit suite individually
5588a2b is described below

commit 5588a2ba86fadb09d1020082d9fca03ae19b66d9
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Wed Dec 11 15:18:09 2019 -0600

    Run each eunit suite individually
---
 build-aux/Jenkinsfile.mini | 25 +++++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/build-aux/Jenkinsfile.mini b/build-aux/Jenkinsfile.mini
index 84c25af..95cef38 100644
--- a/build-aux/Jenkinsfile.mini
+++ b/build-aux/Jenkinsfile.mini
@@ -89,7 +89,7 @@ pipeline {
         '''
         sh './configure --with-curl'
         sh 'make couch'
-        sh 'make fauxton'
+        // sh 'make fauxton'
         sh 'make docs'
         sh 'make dist'
         sh 'chmod -R a+w * .'
@@ -138,7 +138,28 @@ pipeline {
                 sh 'make test-cluster-with-quorum'
                 sh 'make test-cluster-without-quorum'
                 sh 'make python-black'
-                sh 'make eunit'
+
+                //sh 'make eunit'
+                final skip_dirs = [
+                    'bcrypt',
+                    'docs',
+                    'fauxton',
+                    'folsom',
+                    'hyper',
+                    'meck',
+                    'mochiweb',
+                    'proper',
+                    'snappy',
+                    'triq'
+                ]
+                final test_dirs = findFiles(glob: "src/*")
+                test_dirs.sort()
+                for (int i = 0; i < test_dirs.size() ; i++) {
+                    if(!skip_dirs.contains(test_dirs[i])) {
+                        sh 'make eunit apps=${test_dirs[i]}'
+                    }
+                }
+
                 sh 'make javascript'
                 sh 'make mango-test'
                 sh 'make elixir'