aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/all_tests.bat
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-01-22 09:24:03 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-01-22 09:24:03 +0300
commit3f2b50e31f213a44a7bae3284348da3af6744bec (patch)
treeea33ba6a3c54312049d0a9114df5bbb7ca60a306 /test/all_tests.bat
parentadd .gitattributes (diff)
downloadaes-tools-3f2b50e31f213a44a7bae3284348da3af6744bec.tar.gz
aes-tools-3f2b50e31f213a44a7bae3284348da3af6744bec.zip
all_test.bat -> all_tests.bat
Diffstat (limited to 'test/all_tests.bat')
-rw-r--r--test/all_tests.bat15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/all_tests.bat b/test/all_tests.bat
new file mode 100644
index 0000000..4debaa9
--- /dev/null
+++ b/test/all_tests.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