aboutsummaryrefslogtreecommitdiff
path: root/src/build_tree/ak_log_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/build_tree/ak_log_build.sh')
-rwxr-xr-xsrc/build_tree/ak_log_build.sh6
1 files changed, 5 insertions, 1 deletions
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