hostapd/tests
Johannes Berg 0b1faa8bf1 tests: Use argparse module with hwsim
Instead of re-implementing a command-line parser, use the
argparse module.

The only real change (I hope) is that the test module must
now be given to the -f option without the .py suffix.

Also, --help now works, and if a test module/test name is
given that doesn't exist, the valid list is printed.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
2013-10-30 19:58:23 +02:00
..
hwsim tests: Use argparse module with hwsim 2013-10-30 19:58:23 +02:00
.gitignore Add routines for encoding/decoding printf escaping mechanism 2012-08-07 13:30:13 +03:00
Makefile Add bitfield routines 2013-04-27 22:16:40 +03:00
test-aes.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-asn1.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-base64.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-bitfield.c Add bitfield routines 2013-04-27 22:16:40 +03:00
test-https.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-list.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-md4.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-md5.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-milenage.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-ms_funcs.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-printf.c Add routines for encoding/decoding printf escaping mechanism 2012-08-07 13:30:13 +03:00
test-rc4.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-sha1.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-sha256.c Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
test-x509.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test-x509v3.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
test_x509v3_nist.sh Move test_x509v3 into the new tests subdirectory 2009-12-06 18:10:52 +02:00
test_x509v3_nist2.sh Move test_x509v3 into the new tests subdirectory 2009-12-06 18:10:52 +02:00