From 47e4d849a4bbcf0d5bc9ba41e5f13ddba0d2fac8 Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Fri, 25 Nov 2016 23:58:47 -0800 Subject: [PATCH] [infer][test] Always run the buck integration tests on the Infer CI Reviewed By: jberdine Differential Revision: D4217518 fbshipit-source-id: 0dc7feb --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1648e70d3..4f21f4292 100644 --- a/configure.ac +++ b/configure.ac @@ -274,7 +274,12 @@ AC_SUBST([NCPU]) # tools that are optional, eg build systems to be run in integration tests AC_CHECK_TOOL([ANT], [ant], [no]) -AC_CHECK_TOOL([BUCK], [buck], [no]) +if test ! -z "$SANDCASTLE"; then + BUCK=buck + AC_SUBST([BUCK]) +else + AC_CHECK_TOOL([BUCK], [buck], [no]) +fi AC_CONFIG_FILES([ Makefile.config