############################################################
# Makefile for the regression tests that are run on travis
############################################################
ROOT = ../../../..

test-documentation:
	(cd $(ROOT)/IBPSA; ../bin/runUnitTests.py --validate-html-only)

test-experiment-setup:
	(cd $(ROOT)/IBPSA; ../bin/runUnitTests.py --validate-experiment-setup)

test-autogenerated-files:
	# Check for package.order to be up to date
	(cd  $(ROOT)/IBPSA; \
	  python -c 'import buildingspy.development.refactor as r; \
	  r.write_package_order(".", recursive=True)'; \
	  git diff --exit-code . )

test-dymola:
	(cd $(ROOT)/IBPSA && python ../bin/runUnitTests.py --batch --single-package $(PACKAGE) --tool dymola)

test-jmodelica:
	(cd $(ROOT)/IBPSA && python ../bin/runUnitTests.py --batch --single-package $(PACKAGE) --tool jmodelica)
