]> git.ipfire.org Git - thirdparty/zstd.git/commit
[test] Add a test that checks for valid copyright and licenses
authorNick Terrell <terrelln@fb.com>
Thu, 26 Mar 2020 23:57:48 +0000 (16:57 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 27 Mar 2020 00:02:09 +0000 (17:02 -0700)
commit1f144351b76bf0a228dcee04a042e40d05b9c0d9
tree377362e112c2b5350e84ee34a55070bc800a47cc
parentac58c8d720869a4ffc1aa1413ace53af513bf3b4
[test] Add a test that checks for valid copyright and licenses

Tests all `.h`, `.c`, `.py`, and `Makefile` files for valid copyright
and license lines. Excludes a small number of exceptions (threading, and
divsufsort).

* Copyright does not contains `present`
* Copyright contains `Facebook, Inc`
* Copyright contains the current year
* License contains exactly the lines we expect
tests/test-license.py [new file with mode: 0755]