Test Smart Brain implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. OUTDIR=testresults
  2. TEXFILE=$(OUTDIR)/testrun.tex
  3. PDFFILE=$(OUTDIR)/testrun.pdf
  4. TEXFILE_FULL=$(OUTDIR)/testrun_full.tex
  5. PDFFILE_FULL=$(OUTDIR)/testrun_full.pdf
  6. run: test_smoke pdf view pdf_full clean
  7. @echo FINISHED...
  8. run_full: test_full pdf view pdf_full clean
  9. @echo FINISHED...
  10. test_smoke:
  11. venv/bin/python smart_brain_test.py test.all.smoke
  12. test_full:
  13. venv/bin/python smart_brain_test.py test.all.full
  14. pdf:
  15. @latexmk -pdf -quiet -pdflatex="pdflatex -interaction=nonstopmode" -output-directory=$(OUTDIR) -use-make $(TEXFILE) > /dev/null
  16. pdf_full:
  17. @latexmk -pdf -quiet -pdflatex="pdflatex -interaction=nonstopmode" -output-directory=$(OUTDIR) -use-make $(TEXFILE_FULL) > /dev/null
  18. view:
  19. @open $(PDFFILE)
  20. view_full:
  21. @open $(PDFFILE_FULL)
  22. clean:
  23. @latexmk -quiet -output-directory=$(OUTDIR) -c $(TEXFILE) > /dev/null
  24. @latexmk -quiet -output-directory=$(OUTDIR) -c $(TEXFILE_FULL) > /dev/null
  25. @find . -name *~ -type f | xargs rm -f
  26. @find . -name __pycache__ -type d | xargs rm -rf
  27. %:
  28. venv/bin/python smart_brain_test.py $@
  29. $(MAKE) pdf_full view_full pdf clean