diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-04 16:37:04 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-04-15 15:15:43 +0200 |
commit | deb9c70038fe998c81939d784262147709d3fe09 (patch) | |
tree | fa13f3c3b17cc7d80a8141645a0c3273f337e6bf /src/providers/ad/ad_opts.h | |
parent | d7f1374c1722c994a103245c125dc131298fb6f5 (diff) | |
download | sssd-deb9c70038fe998c81939d784262147709d3fe09.tar.gz sssd-deb9c70038fe998c81939d784262147709d3fe09.tar.xz sssd-deb9c70038fe998c81939d784262147709d3fe09.zip |
Do not compile main() in DP if UNIT_TESTING is defined
The simple access provider unit tests now need to link against the Data
Provider when they start using the be_file_account_request() function.
But then we would start having conflicts as at least the main()
functions would clash.
If UNIT_TESTING is defined, then the data_provider_be.c module does not
contain the main() function and can be linked against directly from
another module that contains its own main() function
Diffstat (limited to 'src/providers/ad/ad_opts.h')
0 files changed, 0 insertions, 0 deletions