diff options
author | lloyd <[email protected]> | 2013-12-31 21:38:18 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-31 21:38:18 +0000 |
commit | c5dc7598403b5f7e739b2c27707663b16c4199f8 (patch) | |
tree | 632042be775d298f648247b824b97d493dca889d /checks/check.cpp | |
parent | 7947d9787fe1cf448a418e2252edededdf887032 (diff) |
Split up tests by type
Diffstat (limited to 'checks/check.cpp')
-rw-r--r-- | checks/check.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/checks/check.cpp b/checks/check.cpp index 301964424..751dd02b6 100644 --- a/checks/check.cpp +++ b/checks/check.cpp @@ -215,18 +215,15 @@ int main(int argc, char* argv[]) int run_test_suite(RandomNumberGenerator& rng) { - std::cout << "Beginning tests..." << std::endl; - u32bit errors = 0; try { - const std::string VALIDATION_FILE = "checks/validate.dat"; const std::string BIGINT_VALIDATION_FILE = "checks/mp_valid.dat"; const std::string PK_VALIDATION_FILE = "checks/pk_valid.dat"; - const std::string EXPECTED_FAIL_FILE = "checks/fail.dat"; - errors += do_validation_tests(VALIDATION_FILE, rng); - errors += do_validation_tests(EXPECTED_FAIL_FILE, rng, false); + errors += run_all_tests(); + //errors += do_validation_tests(VALIDATION_FILE, rng); + //errors += do_validation_tests(EXPECTED_FAIL_FILE, rng, false); errors += do_bigint_tests(BIGINT_VALIDATION_FILE, rng); errors += do_pk_validation_tests(PK_VALIDATION_FILE, rng); do_x509_tests(rng); |