Files
wasmtime/meta/check.sh
Jakob Stoklund Olesen d7e9d4dade Run Python unittests and doctests.
Add a meta/check.sh script that runs unit tests before the syntax
linters.

Add unittest converters for the existing doctests.
2016-09-27 13:45:05 -07:00

13 lines
253 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname "$0")
# Run unit tests.
python -m unittest discover
# Check Python sources for Python 3 compatibility using pylint.
#
# Install pylint with 'pip install pylint'.
pylint --py3k --reports=no -- *.py cretonne isa
flake8 .