From d34501f0f67bd3c4e6c3700957e4b1516d35084c Mon Sep 17 00:00:00 2001 From: Julien Signoles <julien.signoles@cea.fr> Date: Thu, 25 Feb 2016 08:53:07 +0100 Subject: [PATCH] [tests] fix running tests in internal mode --- src/plugins/e-acsl/Makefile.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/plugins/e-acsl/Makefile.in b/src/plugins/e-acsl/Makefile.in index 94e44b88d17..4dd4dc46d1e 100644 --- a/src/plugins/e-acsl/Makefile.in +++ b/src/plugins/e-acsl/Makefile.in @@ -29,9 +29,6 @@ ifndef FRAMAC_SHARE FRAMAC_SHARE :=$(shell frama-c-config -print-share-path) endif -ifndef FRAMAC_LIBDIR -FRAMAC_LIBDIR :=$(shell frama-c-config -print-libpath) -endif # OCAMLVERSION and HAS_OCAML312 are defined in Frama-C common Makefile but # cannot be used at this point. Unfortunatly cannot reuse the same variable name @@ -113,13 +110,14 @@ $(PLUGIN_DIR)/local_config.ml: $(PLUGIN_DIR)/Makefile.in VERSION ifeq (@MAY_RUN_TESTS@,yes) -$(PLUGIN_DIR)/tests/print.cmxs: OFLAGS=-I $(FRAMAC_LIBDIR) -$(PLUGIN_DIR)/tests/print.cmo: BFLAGS=-I $(FRAMAC_LIBDIR) +$(PLUGIN_DIR)/tests/print.cmxs: OFLAGS=-I $(FRAMAC_LIB) +$(PLUGIN_DIR)/tests/print.cmo: BFLAGS=-I $(FRAMAC_LIB) PLUGIN_TESTS_DIRS:=e-acsl-reject e-acsl-runtime bts gmp no-main E_ACSL_TESTS: $(PLUGIN_DIR)/tests/test_config \ $(PLUGIN_DIR)/tests/print.cmxs \ $(PLUGIN_DIR)/tests/print.cmo + endif ############ -- GitLab