openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject [incubator-openwhisk-utilities] branch master updated: Consolidate all unit tests that are supposed to fail under exclude dir. / enable more repos. (#19)
Date Sat, 19 Aug 2017 13:17:11 GMT
This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-utilities.git


The following commit(s) were added to refs/heads/master by this push:
     new 3045ef1  Consolidate all unit tests that are supposed to fail under exclude dir.
/ enable more repos. (#19)
3045ef1 is described below

commit 3045ef1da4fe95cfdd7a38eff69bd620b66b3426
Author: Matt Rutkowski <mrutkows@us.ibm.com>
AuthorDate: Sat Aug 19 08:17:09 2017 -0500

    Consolidate all unit tests that are supposed to fail under exclude dir. / enable more
repos. (#19)
    
    * Consolidate all unit tests that are supposed to fail under exclude dir.
    
    * Consolidate all unit tests that are supposed to fail under exclude dir.
    
    * Consolidate all unit tests that are supposed to fail under exclude dir.
    
    * Consolidate all unit tests that are supposed to fail under exclude dir.
---
 scancode/scanCode.cfg                                | 20 +++++++++-----------
 .../{mixed => exclude/MixedCase}/bad_multple.go      |  0
 .../tests/{ => exclude}/mixed/bad-apache-license.go  |  0
 .../{ => exclude}/mixed/bad-apache-license.scala     |  0
 scancode/tests/{ => exclude}/mixed/bad-hello.lua     |  0
 .../tests/{ => exclude}/mixed/bad-ibm-license.go     |  0
 .../tests/{ => exclude}/mixed/bad-missing-license.go |  0
 .../{ => exclude}/mixed/bad-missing-license.scala    |  0
 scancode/tests/{ => exclude}/mixed/bad_hello.js      |  0
 .../{MixedCase => exclude/mixed}/bad_multple.go      |  0
 .../tests/{ => exclude}/mixed/good-apache-license.go |  0
 .../{ => exclude}/mixed/good-apache-license.scala    |  0
 .../tests/{ => exclude}/mixed/good-ibm-copyright.go  |  0
 .../{ => exclude}/mixed/good-ibm-copyright.scala     |  0
 .../tests/{good => include}/good-apache-license.go   |  0
 .../{good => include}/good-apache-license.scala      |  0
 scancode/tests/{good => include}/good-hello.lua      |  0
 .../tests/{good => include}/good-ibm-copyright.go    |  0
 .../tests/{good => include}/good-ibm-copyright.scala |  0
 scancode/tests/{good => include}/good_hello.js       |  0
 .../tests/{ => include}/python/good-fuzzy-script.py  |  0
 scancode/travis.cfg                                  |  5 +----
 22 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/scancode/scanCode.cfg b/scancode/scanCode.cfg
index ca1ad2b..c37f3d5 100644
--- a/scancode/scanCode.cfg
+++ b/scancode/scanCode.cfg
@@ -33,32 +33,30 @@ deploy.xml=no_tabs, no_trailing_spaces, eol_at_eof
 .git
 .bin
 
-# OpenWhisk exclusions
+# OpenWhisk binary artifact exclusion
 bin
-tests
-tests/build/reports
-tests/dat
 
-# openwhisk-catalog exclusions (Python samples)
-packages/samples/hello
+# Jenkins/test generated reports
+tests/build/reports
 
 # incubator-openwhisk-client-go, autogenerated Go files
 wski18n
 
+# exclude intentionally excluded subset of scancode function tests
+scancode/tests/exclude
+
 # The following repos. have so far been identified as having scanning errors
 # and will be excluded until their owners have completed updates to add Travis
 # support, run scancode and become compliant.
 openwhisk-debugger
-openwhisk-client-python
-openwhisk-client-go
-openwhisk-client-js
 openwhisk-vscode
 openwhisk-devtools
-openwhisk-package-jira
 openwhisk-sample-matos
 openwhisk-GitHubSlackBot
 openwhisk-tutorial
-openwhisk-apigateway
+openwhisk-playground
+openwhisk-workshop
+openwhisk-xcode
 
 [Options]
 # Not all code files allow licenses to appear starting at the first character
diff --git a/scancode/tests/mixed/bad_multple.go b/scancode/tests/exclude/MixedCase/bad_multple.go
similarity index 100%
rename from scancode/tests/mixed/bad_multple.go
rename to scancode/tests/exclude/MixedCase/bad_multple.go
diff --git a/scancode/tests/mixed/bad-apache-license.go b/scancode/tests/exclude/mixed/bad-apache-license.go
similarity index 100%
rename from scancode/tests/mixed/bad-apache-license.go
rename to scancode/tests/exclude/mixed/bad-apache-license.go
diff --git a/scancode/tests/mixed/bad-apache-license.scala b/scancode/tests/exclude/mixed/bad-apache-license.scala
similarity index 100%
rename from scancode/tests/mixed/bad-apache-license.scala
rename to scancode/tests/exclude/mixed/bad-apache-license.scala
diff --git a/scancode/tests/mixed/bad-hello.lua b/scancode/tests/exclude/mixed/bad-hello.lua
similarity index 100%
rename from scancode/tests/mixed/bad-hello.lua
rename to scancode/tests/exclude/mixed/bad-hello.lua
diff --git a/scancode/tests/mixed/bad-ibm-license.go b/scancode/tests/exclude/mixed/bad-ibm-license.go
similarity index 100%
rename from scancode/tests/mixed/bad-ibm-license.go
rename to scancode/tests/exclude/mixed/bad-ibm-license.go
diff --git a/scancode/tests/mixed/bad-missing-license.go b/scancode/tests/exclude/mixed/bad-missing-license.go
similarity index 100%
rename from scancode/tests/mixed/bad-missing-license.go
rename to scancode/tests/exclude/mixed/bad-missing-license.go
diff --git a/scancode/tests/mixed/bad-missing-license.scala b/scancode/tests/exclude/mixed/bad-missing-license.scala
similarity index 100%
rename from scancode/tests/mixed/bad-missing-license.scala
rename to scancode/tests/exclude/mixed/bad-missing-license.scala
diff --git a/scancode/tests/mixed/bad_hello.js b/scancode/tests/exclude/mixed/bad_hello.js
similarity index 100%
rename from scancode/tests/mixed/bad_hello.js
rename to scancode/tests/exclude/mixed/bad_hello.js
diff --git a/scancode/tests/MixedCase/bad_multple.go b/scancode/tests/exclude/mixed/bad_multple.go
similarity index 100%
rename from scancode/tests/MixedCase/bad_multple.go
rename to scancode/tests/exclude/mixed/bad_multple.go
diff --git a/scancode/tests/mixed/good-apache-license.go b/scancode/tests/exclude/mixed/good-apache-license.go
similarity index 100%
rename from scancode/tests/mixed/good-apache-license.go
rename to scancode/tests/exclude/mixed/good-apache-license.go
diff --git a/scancode/tests/mixed/good-apache-license.scala b/scancode/tests/exclude/mixed/good-apache-license.scala
similarity index 100%
rename from scancode/tests/mixed/good-apache-license.scala
rename to scancode/tests/exclude/mixed/good-apache-license.scala
diff --git a/scancode/tests/mixed/good-ibm-copyright.go b/scancode/tests/exclude/mixed/good-ibm-copyright.go
similarity index 100%
rename from scancode/tests/mixed/good-ibm-copyright.go
rename to scancode/tests/exclude/mixed/good-ibm-copyright.go
diff --git a/scancode/tests/mixed/good-ibm-copyright.scala b/scancode/tests/exclude/mixed/good-ibm-copyright.scala
similarity index 100%
rename from scancode/tests/mixed/good-ibm-copyright.scala
rename to scancode/tests/exclude/mixed/good-ibm-copyright.scala
diff --git a/scancode/tests/good/good-apache-license.go b/scancode/tests/include/good-apache-license.go
similarity index 100%
rename from scancode/tests/good/good-apache-license.go
rename to scancode/tests/include/good-apache-license.go
diff --git a/scancode/tests/good/good-apache-license.scala b/scancode/tests/include/good-apache-license.scala
similarity index 100%
rename from scancode/tests/good/good-apache-license.scala
rename to scancode/tests/include/good-apache-license.scala
diff --git a/scancode/tests/good/good-hello.lua b/scancode/tests/include/good-hello.lua
similarity index 100%
rename from scancode/tests/good/good-hello.lua
rename to scancode/tests/include/good-hello.lua
diff --git a/scancode/tests/good/good-ibm-copyright.go b/scancode/tests/include/good-ibm-copyright.go
similarity index 100%
rename from scancode/tests/good/good-ibm-copyright.go
rename to scancode/tests/include/good-ibm-copyright.go
diff --git a/scancode/tests/good/good-ibm-copyright.scala b/scancode/tests/include/good-ibm-copyright.scala
similarity index 100%
rename from scancode/tests/good/good-ibm-copyright.scala
rename to scancode/tests/include/good-ibm-copyright.scala
diff --git a/scancode/tests/good/good_hello.js b/scancode/tests/include/good_hello.js
similarity index 100%
rename from scancode/tests/good/good_hello.js
rename to scancode/tests/include/good_hello.js
diff --git a/scancode/tests/python/good-fuzzy-script.py b/scancode/tests/include/python/good-fuzzy-script.py
similarity index 100%
rename from scancode/tests/python/good-fuzzy-script.py
rename to scancode/tests/include/python/good-fuzzy-script.py
diff --git a/scancode/travis.cfg b/scancode/travis.cfg
index ee9e988..f27103d 100644
--- a/scancode/travis.cfg
+++ b/scancode/travis.cfg
@@ -32,10 +32,7 @@ deploy.xml=no_tabs, no_trailing_spaces, eol_at_eof
 .git
 .bin
 
-# Unit tests
-tests/bad
-tests/mixed
-tests/MixedCase
+# Scancode unit tests
 tests/exclude
 
 [Options]

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <commits@openwhisk.apache.org>'].

Mime
View raw message