commit | 3045ef1da4fe95cfdd7a38eff69bd620b66b3426 | [log] [tgz] |
---|---|---|
author | Matt Rutkowski <mrutkows@us.ibm.com> | Sat Aug 19 08:17:09 2017 -0500 |
committer | Carlos Santana <csantana23@gmail.com> | Sat Aug 19 09:17:09 2017 -0400 |
tree | 38b8d4c3fb4e6aa4810c0b33e08bfd678804fbe9 | |
parent | 050b84d4da7ef763254c28f5bcc8916d9bcd3925 [diff] |
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.
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 @@ .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/MixedCase/bad_multple.go b/scancode/tests/exclude/MixedCase/bad_multple.go similarity index 100% rename from scancode/tests/MixedCase/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/mixed/bad_multple.go b/scancode/tests/exclude/mixed/bad_multple.go similarity index 100% rename from scancode/tests/mixed/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 @@ .git .bin -# Unit tests -tests/bad -tests/mixed -tests/MixedCase +# Scancode unit tests tests/exclude [Options]