Add test_fz

This commit is contained in:
Corentin Le Molgat
2018-06-15 13:43:19 +02:00
parent 7c8463e76a
commit 25afec5599
3 changed files with 10 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ if [ "${BUILDER}" == make ];then
make third_party
make "${LANGUAGE}"
make test_"${LANGUAGE}"
if [ "${LANGUAGE}" == cc ]; then
make test_fz
fi
else
# Linux Docker Makefile build:
echo "NOT SUPPORTED"

View File

@@ -23,6 +23,8 @@ endif
cc: ortoolslibs ccexe
.PHONY: test_cc # Test C++ OR-Tools using various examples.
test_cc: test_cc_examples
.PHONY: test_fz
test_fz: test_fz_examples
BUILT_LANGUAGES += C++
MISSING_BUILD_DIRECTORIES = \

View File

@@ -8,6 +8,11 @@ test_cc_examples: cc
$(BIN_DIR)$Sinteger_programming$E
$(BIN_DIR)$Stsp$E
.PHONY: test_fz_examples
test_fz_examples: fz
$(BIN_DIR)$Sfz$E $(EX_DIR)$Sflatzinc$Sgolomb.fzn
$(BIN_DIR)$Sfz$E $(EX_DIR)$Sflatzinc$Salpha.fzn
.PHONY: test_python_examples
test_python_examples: python
$(SET_PYTHONPATH) "$(PYTHON_EXECUTABLE)" $(EX_DIR)$Spython$Shidato_table.py