aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test-freerdp-wrapper.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b7c39f0..56fe7b9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,6 +52,7 @@ test_freerdpclient_wrapper_LDADD = \
test_freerdpclient_wrapper_CXXFLAGS = \
$(AM_CXXFLAGS) \
+ -DAUTH_CHECK="\"$(builddir)/test-freerdp-auth\"" \
-I${top_srcdir}/src
test_freerdpclient_wrapper_LDFLAGS = \
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index 3effc2a..2063c5c 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -14,7 +14,7 @@ extern "C" {
int freerdpclient_wrapper (int argc, char * argv[]);
-const char * auth_check_path = "";
+const char * auth_check_path = AUTH_CHECK;
}