diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-11-25 17:16:27 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-11-25 17:16:27 +0200 |
commit | 5402530100772eb3a8db649a52ee454145ae54dc (patch) | |
tree | 9758b68b285281dad08b54e43cf28550bc7626ab /src/build.sh | |
parent | 8d3b10983b3bd886ce6cb379bdeee9358bd52e03 (diff) | |
download | arching-kaos-tools-5402530100772eb3a8db649a52ee454145ae54dc.tar.gz arching-kaos-tools-5402530100772eb3a8db649a52ee454145ae54dc.tar.bz2 arching-kaos-tools-5402530100772eb3a8db649a52ee454145ae54dc.zip |
Test for aklog.c and build systemHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'src/build.sh')
-rwxr-xr-x | src/build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build.sh b/src/build.sh index 440bca6..3ad716e 100755 --- a/src/build.sh +++ b/src/build.sh @@ -17,3 +17,11 @@ gcc -Wextra -Wall -Werror -pedantic -ggdb -Wl,-rpath=lib -I./include tests/test_ echo "Running test_akfs_mkdir" && \ time ./tests/test_akfs_mkdir rm ./tests/test_akfs_mkdir + +echo "Building lib/aklog.so" && \ +gcc -c -shared -Wextra -Wall -Werror -pedantic -ggdb -fPIC -I./include aklog.c -o lib/aklog.so && \ +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 +rm ./tests/test_aklog |