diff options
author | Poornima G <pgurusid@redhat.com> | 2016-06-17 01:27:31 -0400 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2016-07-20 23:15:55 -0700 |
commit | 0a8b85e3a8228c399dde807c3ca781a452a1fc90 (patch) | |
tree | 2c0d75324ef3bf2339c188929e4cfb9177e8f110 /tests/include.rc | |
parent | dcf75f7dac091cdb8ab0af2e8f2ca30f6272f8d1 (diff) |
tests: Enable all gfapi test cases
Change-Id: I32bfec4af91348d96dc3e81a9d5c9cad599f821b
Bug: 1358594
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/14748
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc index 61dd6ba59f9..f088a8d7e4a 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -617,6 +617,10 @@ function build_tester () local execname="${fname%.*}" shift local cflags=$* + if [ `echo $cflags | grep -c "lgfapi" ` -gt 0 ] + then + cflags="$cflags $(pkg-config glusterfs-api --cflags-only-I --libs-only-L)" + fi $CC -g -o $(dirname $cfile)/$execname $cfile $cflags } |