linuxcnc/scripts/travis-build-test.sh
Damian Wrobel e9290b7f03 Add pycheck (Python check) Makefile target
It is designed to be used for checking compatibility of python
scripts (currently only from the 'tests' subdirectory) with
both python2 and python3 interpreters.

Usage:
  $ make pycheck

Successfull output:
  $ make pycheck
  Reading 200/200 dependency files
  Done reading dependencies
  Reading 212/212 realtime dependency files
  Done reading realtime dependencies
  Checking *.py files for python2 and python3 compatibility...
  Checking "text/x-python" (by MIME type) files for python2 and python3 compatibility...

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-28 23:11:24 +02:00

6 lines
222 B
Bash
Executable file

#!/bin/sh -ex
cd src
./autogen.sh
./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation
make -O -j$(getconf _NPROCESSORS_ONLN) default pycheck V=1
../scripts/rip-environment runtests