aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dftestlib
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dftestlib')
-rwxr-xr-xtools/dftestlib/__init__.py14
-rwxr-xr-xtools/dftestlib/bytes_ether.py14
-rwxr-xr-xtools/dftestlib/bytes_ipv6.py14
-rwxr-xr-xtools/dftestlib/bytes_type.py14
-rwxr-xr-xtools/dftestlib/dftest.py14
-rwxr-xr-xtools/dftestlib/double.py14
-rwxr-xr-xtools/dftestlib/integer_1byte.py14
-rwxr-xr-xtools/dftestlib/ipv4.py14
-rwxr-xr-xtools/dftestlib/range_method.py14
-rwxr-xr-xtools/dftestlib/scanner.py14
-rwxr-xr-xtools/dftestlib/string_type.py14
-rwxr-xr-xtools/dftestlib/stringz.py14
-rwxr-xr-xtools/dftestlib/time_relative.py14
-rwxr-xr-xtools/dftestlib/tvb.py14
-rwxr-xr-xtools/dftestlib/uint64.py14
-rwxr-xr-xtools/dftestlib/util.py14
16 files changed, 16 insertions, 208 deletions
diff --git a/tools/dftestlib/__init__.py b/tools/dftestlib/__init__.py
index 557e94e205..500d94c1b7 100755
--- a/tools/dftestlib/__init__.py
+++ b/tools/dftestlib/__init__.py
@@ -1,16 +1,4 @@
#
# Copyright (C) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
diff --git a/tools/dftestlib/bytes_ether.py b/tools/dftestlib/bytes_ether.py
index 3836a323bb..cf479d2dff 100755
--- a/tools/dftestlib/bytes_ether.py
+++ b/tools/dftestlib/bytes_ether.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/bytes_ipv6.py b/tools/dftestlib/bytes_ipv6.py
index d85fb6403b..8dd88994bd 100755
--- a/tools/dftestlib/bytes_ipv6.py
+++ b/tools/dftestlib/bytes_ipv6.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/bytes_type.py b/tools/dftestlib/bytes_type.py
index 5cfe0158cb..3c0b648b85 100755
--- a/tools/dftestlib/bytes_type.py
+++ b/tools/dftestlib/bytes_type.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/dftest.py b/tools/dftestlib/dftest.py
index 31086c3412..4b54df1428 100755
--- a/tools/dftestlib/dftest.py
+++ b/tools/dftestlib/dftest.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
import os
diff --git a/tools/dftestlib/double.py b/tools/dftestlib/double.py
index 2418eab4e1..123e0b576f 100755
--- a/tools/dftestlib/double.py
+++ b/tools/dftestlib/double.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/integer_1byte.py b/tools/dftestlib/integer_1byte.py
index da6163ae6e..0dae75698b 100755
--- a/tools/dftestlib/integer_1byte.py
+++ b/tools/dftestlib/integer_1byte.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/ipv4.py b/tools/dftestlib/ipv4.py
index 6ccf4d76ce..1ed5cf45cc 100755
--- a/tools/dftestlib/ipv4.py
+++ b/tools/dftestlib/ipv4.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/range_method.py b/tools/dftestlib/range_method.py
index 613d476e22..260d6ba315 100755
--- a/tools/dftestlib/range_method.py
+++ b/tools/dftestlib/range_method.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/scanner.py b/tools/dftestlib/scanner.py
index 1830616c73..56fed6d2cf 100755
--- a/tools/dftestlib/scanner.py
+++ b/tools/dftestlib/scanner.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/string_type.py b/tools/dftestlib/string_type.py
index fba92a286c..b5573cdda9 100755
--- a/tools/dftestlib/string_type.py
+++ b/tools/dftestlib/string_type.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/stringz.py b/tools/dftestlib/stringz.py
index d1f203ce8c..100875c234 100755
--- a/tools/dftestlib/stringz.py
+++ b/tools/dftestlib/stringz.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/time_relative.py b/tools/dftestlib/time_relative.py
index d875a85054..9d66ac6084 100755
--- a/tools/dftestlib/time_relative.py
+++ b/tools/dftestlib/time_relative.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/tvb.py b/tools/dftestlib/tvb.py
index d4c7a92a78..db6e95998a 100755
--- a/tools/dftestlib/tvb.py
+++ b/tools/dftestlib/tvb.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
import unittest
diff --git a/tools/dftestlib/uint64.py b/tools/dftestlib/uint64.py
index 8edd955881..fcb3e65dbf 100755
--- a/tools/dftestlib/uint64.py
+++ b/tools/dftestlib/uint64.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
from dftestlib import dftest
diff --git a/tools/dftestlib/util.py b/tools/dftestlib/util.py
index 6a0ae94581..fef4ec3a36 100755
--- a/tools/dftestlib/util.py
+++ b/tools/dftestlib/util.py
@@ -1,18 +1,6 @@
# Copyright (c) 2013 by Gilbert Ramirez <gram@alumni.rice.edu>
#
-# 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 2
-# 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, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+# SPDX-License-Identifier: GPL-2.0-or-later
import subprocess, sys