Fix configuration for ctest with Javascript/v8.

This commit is contained in:
Oliver Buchtala 2014-04-23 02:25:07 +02:00
commit f3e3fce664
2 changed files with 16 additions and 14 deletions

View file

@ -89,6 +89,11 @@ else
$(top_srcdir)/Tools/javascript/javascript -$(JSENGINE) $(srcdir)/$*$(SCRIPTSUFFIX); \
fi
%.ctest:
$(_setup)
+$(swig_and_compile_c)
$(run_testcase)
%.cpptest:
$(_setup)
+$(swig_and_compile_cpp)
@ -101,20 +106,6 @@ else
endif
ifeq (v8,$(ENGINE))
%.ctest:
$(_setup)
+$(swig_and_compile_cpp)
$(run_testcase)
endif
ifeq (jsc,$(ENGINE))
%.ctest:
$(_setup)
+$(swig_and_compile_c)
$(run_testcase)
endif
%.clean:
rm -rf $*