-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add progress bar support * Raise exit-code if tests fail * Update mupq * Add forgotten import * Update mupq
- Loading branch information
Showing
6 changed files
with
18 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule mupq
updated
4 files
+3 −1 | crypto_kem/test.c | |
+2 −0 | crypto_sign/test.c | |
+121 −41 | mupq.py | |
+58 −17 | platforms.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
pyserial==3.4 | ||
tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
#!/usr/bin/env python3 | ||
from mupq import mupq | ||
from interface import parse_arguments, get_platform | ||
import sys | ||
|
||
if __name__ == "__main__": | ||
args, rest = parse_arguments() | ||
platform, settings = get_platform(args) | ||
with platform: | ||
test = mupq.TestVectors(settings, platform) | ||
test.test_all(rest) | ||
if test.test_all(rest): | ||
sys.exit(1) |