From: momoyon Date: Sun, 6 Apr 2025 15:30:28 +0000 (+0500) Subject: Add test script for windows. X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=ca0b98e0331c61de04988891c7f5d2b662294ff5;p=commonlib.git Add test script for windows. --- diff --git a/test.bat b/test.bat new file mode 100644 index 0000000..bf19ebc --- /dev/null +++ b/test.bat @@ -0,0 +1,8 @@ +@echo off + +set SRC_SUFFIX=.c +set TESTS_DIR=./tests +set BUILD_CMD=gcc -o {test_name} {test_name}.{src_suffix} +set RUN_CMD=".\{test_name}" + +python .\test.py %*