From 1e529830cb1407b13bb0dc86587ec5618a3698f6 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 17 Mar 2025 00:17:06 +0200 Subject: implemented: int ak_log_write_to_file(char* message) --- src/build_tree/ak_log_build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/build_tree') diff --git a/src/build_tree/ak_log_build.sh b/src/build_tree/ak_log_build.sh index ddd4e64..ab83378 100755 --- a/src/build_tree/ak_log_build.sh +++ b/src/build_tree/ak_log_build.sh @@ -5,5 +5,9 @@ gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklog.c - echo "Building tests/test_aklog" && \ gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklog.c lib/aklog.so -o tests/test_aklog && \ echo "Running test_aklog" && \ -time ./tests/test_aklog +time ./tests/test_aklog && \ rm ./tests/test_aklog +gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_aklogwrite.c lib/aklog.so -o tests/test_aklogwrite && \ +echo "Running test_aklogwrite" && \ +time ./tests/test_aklogwrite && \ +rm ./tests/test_aklogwrite -- cgit v1.2.3