X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2Fpdtest;h=8a760f2a71884e5384121bf5bf1ca2faba0339f2;hb=b92233847c6a77dfb66ac2eaef3c2ef4ff57640c;hp=2ed0d9f4ec72b6aa0b94a442e40b236f178acd04;hpb=cd8eb52870200196b12d6950eead62d46864cd00;p=libsigrokdecode.git diff --git a/tests/pdtest b/tests/pdtest index 2ed0d9f..8a760f2 100755 --- a/tests/pdtest +++ b/tests/pdtest @@ -1,4 +1,22 @@ #!/usr/bin/env python3 +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2013 Bert Vermeulen +## +## 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 . +## import os import sys @@ -388,7 +406,7 @@ if len(sys.argv) == 1: opt_all = opt_run = opt_show = opt_list = opt_fix = False report_dir = None -opts, args = getopt(sys.argv[1:], "dvarslfRS:") +opts, args = getopt(sys.argv[1:], "dvarslfR:S:") for opt, arg in opts: if opt == '-d': DEBUG += 1