Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AAI
Shibboleth Debian packaging
log4shib
Commits
17a85341
Commit
17a85341
authored
Jun 25, 2018
by
Ferenc Wágner
Browse files
Let tests/sscpp706 find its data in VPATH builds as well
parent
0e6475a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
17a85341
...
...
@@ -12,6 +12,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src
LDADD
=
../src/liblog4shib.la
AM_DEFAULT_SOURCE_EXT
=
.cpp
sscpp706_CPPFLAGS
=
$(AM_CPPFLAGS)
-DDATADIR
=
\"
$(srcdir)
\"
testbench_SOURCES
=
Clock.cpp Clock.hh testbench.cpp
...
...
tests/sscpp706.cpp
View file @
17a85341
...
...
@@ -5,7 +5,7 @@
int
main
(
int
argc
,
char
*
argv
[])
{
std
::
string
initFileName
=
argc
>
1
?
argv
[
1
]
:
"
sscpp706.txt"
;
std
::
string
initFileName
=
argc
>
1
?
argv
[
1
]
:
DATADIR
"/
sscpp706.txt"
;
try
{
log4shib
::
PropertyConfigurator
::
configure
(
initFileName
);
log4shib
::
Category
&
root
=
log4shib
::
Category
::
getRoot
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment