aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-09-21 16:40:34 -0400
committerRob Austein <sra@hactrn.net>2015-09-21 16:40:34 -0400
commitf723a3b05eb960a2c0e4fe5e86c8dde91a425acf (patch)
treef576de5b63a86a67263445cfc4ee2ed53a644318 /GNUmakefile
parent35295b4171bbbfa32233a3d4b23ef8378a8b1c49 (diff)
Unit tests for init, session, and login functions.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 89f713c..77daebd 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -39,7 +39,7 @@ LIBHAL_DIR = ../libhal
LIBTFM_DIR = ../thirdparty/libtfm
SQLITE3_DIR = ../thirdparty/sqlite3
-CFLAGS := -g3 -fPIC -Wall -std=c99 -I${LIBHAL_DIR} -I${SQLITE3_DIR}
+CFLAGS := -g3 -fPIC -Wall -std=c99 -I${LIBHAL_DIR} -I${SQLITE3_DIR} -DDEBUG_PKCS11=0
SOFLAGS := -Wl,-Bsymbolic-functions -Wl,-Bsymbolic -Wl,-z,noexecstack
LIBS := ${LIBHAL_DIR}/libhal.a ${LIBTFM_DIR}/libtfm.a ${SQLITE3_DIR}/libsqlite3.a
@@ -90,7 +90,7 @@ tags: TAGS
TAGS: *.[ch]
etags $^
-test:
+test: all
sudo python unit_tests.py
# Kudge for testing, gussy this up if we decide to keep it