scilab: fix test-suite: change to test dir before running test

This commit is contained in:
Simon Marchetto 2014-06-20 16:48:24 +02:00
commit 9fc32cb866

View file

@ -42,17 +42,17 @@ SRC_RUNME_SCRIPT = $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX)
%.cpptest: %.cpptest:
$(setup) $(setup)
+(cd $(TEST_DIR) && $(swig_and_compile_cpp)) +(cd $(TEST_DIR) && $(swig_and_compile_cpp))
$(run_testcase) cd $(TEST_DIR) && $(run_testcase)
%.ctest: %.ctest:
$(setup) $(setup)
+(cd $(TEST_DIR) && $(swig_and_compile_c)) +(cd $(TEST_DIR) && $(swig_and_compile_c))
$(run_testcase) cd $(TEST_DIR) && $(run_testcase)
%.multicpptest: %.multicpptest:
$(setup) $(setup)
+(cd $(TEST_DIR) && $(swig_and_compile_multi_cpp)) +(cd $(TEST_DIR) && $(swig_and_compile_multi_cpp))
$(run_testcase) cd $(TEST_DIR) && $(run_testcase)
# Logs the test case execution # Logs the test case execution
# Copies files and creates directories needed for the test case # Copies files and creates directories needed for the test case