aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-01-22 08:47:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-01-22 08:47:41 +0300
commit92fe2f03af315d94508988d73b1a5fbcdbadddff (patch)
tree5c5770b8c295fb7beca374aba53166bdad3a9e29
parentupdate .gitignore (diff)
downloadaes-tools-92fe2f03af315d94508988d73b1a5fbcdbadddff.tar.gz
aes-tools-92fe2f03af315d94508988d73b1a5fbcdbadddff.zip
add all_test.bat
Diffstat (limited to '')
-rw-r--r--test/all_test.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/all_test.bat b/test/all_test.bat
new file mode 100644
index 0000000..afa741d
--- /dev/null
+++ b/test/all_test.bat
@@ -0,0 +1,15 @@
+@setlocal enabledelayedexpansion
+
+@if [%1] == [] goto exit_with_usage
+
+set utils_dir=%~1
+
+nist-sp-800-38a.py --path "%utils_dir%" || exit /b !errorlevel!
+cavp.py --path "%utils_dir%" || exit /b !errorlevel!
+file.py --path "%utils_dir%" || exit /b !errorlevel!
+
+@goto :eof
+
+:exit_with_usage
+@echo usage: %0 UTILS_DIR >&2
+@exit /b 1