From 328e8e72efc2d4e073992591627751e2750390e5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 15 Aug 2013 11:13:20 -0400 Subject: [PATCH] Fix up copyrights and the checking code --- GNUmakefile | 4 ++-- packages/f90-interface-browser/f90-tests.el | 19 +++++++++++++++++++ packages/js2-mode/tests/externs.el | 19 +++++++++++++++++++ packages/js2-mode/tests/indent.el | 19 +++++++++++++++++++ packages/js2-mode/tests/parser.el | 19 +++++++++++++++++++ 5 files changed, 78 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 1067e4c6f..cc06e485e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -13,8 +13,8 @@ CR_EXCEPTIONS=copyright_exceptions .PHONY: check_copyrights check_copyrights: @echo "Compute exceptions >$(CR_EXCEPTIONS)~" - @(cd packages; \ - export LANG=C; \ + @export LANG=C; \ + (cd packages; \ find . -name '*.el' -print0 | \ xargs -0 grep -L 'Free Software Foundation, Inc' | \ grep -v '\(\.dir-locals\|.-\(pkg\|autoloads\)\)\.el$$'; \ diff --git a/packages/f90-interface-browser/f90-tests.el b/packages/f90-interface-browser/f90-tests.el index d65388235..d55308b6c 100644 --- a/packages/f90-interface-browser/f90-tests.el +++ b/packages/f90-interface-browser/f90-tests.el @@ -1,3 +1,22 @@ +;;; f90-tests.el --- Tests for f90-interface-browser + +;; Copyright (C) 2013 Free Software Foundation, Inc. + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program If not, see . + +;;; Code: + (defvar *test-name* nil) (defvar *test-tests* (make-hash-table :test 'eq)) diff --git a/packages/js2-mode/tests/externs.el b/packages/js2-mode/tests/externs.el index 7860058d4..d422c74a1 100644 --- a/packages/js2-mode/tests/externs.el +++ b/packages/js2-mode/tests/externs.el @@ -1,3 +1,22 @@ +;;; externs.el --- Tests of "externs" for js2-mode + +;; Copyright (C) 2013 Free Software Foundation, Inc. + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program If not, see . + +;;; Code: + (require 'ert) (require 'js2-mode) diff --git a/packages/js2-mode/tests/indent.el b/packages/js2-mode/tests/indent.el index 953b8a6c4..9ee981cc6 100644 --- a/packages/js2-mode/tests/indent.el +++ b/packages/js2-mode/tests/indent.el @@ -1,3 +1,22 @@ +;;; indent.el --- Tests of indentation for js2-mode + +;; Copyright (C) 2013 Free Software Foundation, Inc. + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program If not, see . + +;;; Code: + (require 'ert) (require 'js2-mode) diff --git a/packages/js2-mode/tests/parser.el b/packages/js2-mode/tests/parser.el index 3c05c4b5e..2f020a679 100644 --- a/packages/js2-mode/tests/parser.el +++ b/packages/js2-mode/tests/parser.el @@ -1,3 +1,22 @@ +;;; parser.el --- Tests of the js2-mode's parser + +;; Copyright (C) 2013 Free Software Foundation, Inc. + +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with this program If not, see . + +;;; Code: + (require 'ert) (require 'ert-x) (require 'js2-mode) -- 2.39.2