aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-19 16:42:55 -0500
committerTed Gould <ted@gould.cx>2012-09-19 16:42:55 -0500
commit2c7ecf16c1df5de36e1dad477489a5d30133f1b0 (patch)
treed9ff52bd37fe2243aea44518bb794c096f7c098e /tests
parent0b4324a891f4c96ec21aef3bf02d961f72c91709 (diff)
downloadlibpam-freerdp2-2c7ecf16c1df5de36e1dad477489a5d30133f1b0.tar.gz
libpam-freerdp2-2c7ecf16c1df5de36e1dad477489a5d30133f1b0.tar.bz2
libpam-freerdp2-2c7ecf16c1df5de36e1dad477489a5d30133f1b0.zip
Set everything up so that the auth check binary can be different in the tests
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-freerdp-wrapper.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c5da385..4e51e62 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -43,7 +43,7 @@ test_freerdpclient_wrapper_SOURCES = \
test-freerdp-wrapper.cc
test_freerdpclient_wrapper_LDADD = \
- $(top_builddir)/src/pam_freerdp.la \
+ $(top_builddir)/src/libfreerdpcore.la \
libgtest.a
test_freerdpclient_wrapper_CXXFLAGS = \
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index e53d94b..3effc2a 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -13,6 +13,9 @@ extern "C" {
#include "mock_guest.h"
int freerdpclient_wrapper (int argc, char * argv[]);
+
+const char * auth_check_path = "";
+
}
namespace {