summaryrefslogtreecommitdiffstats
path: root/c-layman/run-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'c-layman/run-test.sh')
-rwxr-xr-xc-layman/run-test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/c-layman/run-test.sh b/c-layman/run-test.sh
new file mode 100755
index 0000000..31c4167
--- /dev/null
+++ b/c-layman/run-test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+echo Compile lib :
+make
+
+echo Compile tester:
+gcc src/tester.c -llayman -g -W -Wall -Isrc/ -L.libs/ --std=c99 -o tester
+
+echo Run :
+LD_LIBRARY_PATH=.libs/ ./tester