Commit bd1917de authored by jvoisin's avatar jvoisin

`--local` is now the default when running the testsuite

parent d5a896dd
......@@ -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)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment