[Pkg-privacy-commits] [mat] 28/68: `--local` is now the default when running the testsuite

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:40 UTC 2016


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository mat.

commit bd1917dec25ce878477456b80a448b9334330b94
Author: jvoisin <julien.voisin at dustri.org>
Date:   Fri Nov 27 14:04:45 2015 +0100

    `--local` is now the default when running the testsuite
---
 test/test.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/test/test.py b/test/test.py
index 2072e18..34bb4b2 100644
--- a/test/test.py
+++ b/test/test.py
@@ -96,17 +96,10 @@ if __name__ == '__main__':
     import argparse
 
     parser = argparse.ArgumentParser(description='MAT testsuite')
-    parser.add_argument('-l', '--local', action='store_true',
-            help='Test the local version of mat')
     parser.add_argument('-s', '--system', action='store_true',
             help='Test the system-wide version of mat')
 
-    if parser.parse_args().local is True:
-        IS_LOCAL = True
-    elif parser.parse_args().system is True:
+    if parser.parse_args().system is True:
         IS_LOCAL = False
-    else:
-        print('Please specify either --local or --system')
-        sys.exit(1)
 
     sys.exit(run_all_tests() is False)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list