aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-01-05 09:27:17 -0600
committerEric Engestrom2018-01-31 05:22:57 -0600
commit440e6ad0702a912dc61e19aba179e13903767a9a (patch)
tree6e1d2a0bb8efd688e2f753afa019d9abc1604e8b
parent0db36bdec8a1b2caac0046c22eb477ba19c2b43c (diff)
downloadexternal-libgbm-440e6ad0702a912dc61e19aba179e13903767a9a.tar.gz
external-libgbm-440e6ad0702a912dc61e19aba179e13903767a9a.tar.xz
external-libgbm-440e6ad0702a912dc61e19aba179e13903767a9a.zip
exynos/tests: use #ifdef for never-defined token
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--tests/exynos/exynos_fimg2d_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/exynos/exynos_fimg2d_test.c b/tests/exynos/exynos_fimg2d_test.c
index 14d304d3..dcb2e35a 100644
--- a/tests/exynos/exynos_fimg2d_test.c
+++ b/tests/exynos/exynos_fimg2d_test.c
@@ -536,7 +536,7 @@ fail:
536 return ret; 536 return ret;
537} 537}
538 538
539#if EXYNOS_G2D_USERPTR_TEST 539#ifdef EXYNOS_G2D_USERPTR_TEST
540static int g2d_blend_test(struct exynos_device *dev, 540static int g2d_blend_test(struct exynos_device *dev,
541 struct exynos_bo *src, 541 struct exynos_bo *src,
542 struct exynos_bo *dst, 542 struct exynos_bo *dst,
@@ -880,7 +880,7 @@ int main(int argc, char **argv)
880 * 880 *
881 * Disable the test for now, until the kernel code has been sanitized. 881 * Disable the test for now, until the kernel code has been sanitized.
882 */ 882 */
883#if EXYNOS_G2D_USERPTR_TEST 883#ifdef EXYNOS_G2D_USERPTR_TEST
884 ret = g2d_blend_test(dev, src, bo, G2D_IMGBUF_USERPTR); 884 ret = g2d_blend_test(dev, src, bo, G2D_IMGBUF_USERPTR);
885 if (ret < 0) 885 if (ret < 0)
886 fprintf(stderr, "failed to test blend operation.\n"); 886 fprintf(stderr, "failed to test blend operation.\n");