Add a test to check license headers exist in shell scripts.
Change-Id: I4f6f9874f79d55f5ab52b17a4dafa9d836f90d34
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
--- /dev/null
+# SPDX-License-Identifier: EPL-1.0
+##############################################################################
+# COPYRIGHT
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+##############################################################################
[tox]
minversion = 1.6
-envlist = coala,jjb
+envlist = coala,jjb,license
skipsdist = true
[testenv:coala]
whitelist_externals =
cp
rm
+
+[testenv:license]
+deps = lftools
+commands = lftools license check-dir -r '.+' shell