]> www.git.momoyon.org Git - commonlib.git/commitdiff
Add test script for windows.
authormomoyon <ahmedsamyh10@gmail.com>
Sun, 6 Apr 2025 15:30:28 +0000 (20:30 +0500)
committermomoyon <ahmedsamyh10@gmail.com>
Sun, 6 Apr 2025 15:30:28 +0000 (20:30 +0500)
test.bat [new file with mode: 0644]

diff --git a/test.bat b/test.bat
new file mode 100644 (file)
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 %*