##// END OF EJS Templates
Make the test suite runnable without X11 connections....
Make the test suite runnable without X11 connections. This fix makes the test suite work in settings like a screen session that can import but not initialize GTK.

File last commit:

r2118:ec9810f7
r2488:ac681df1
Show More
compile.py
19 lines | 397 B | text/x-python | PythonLexer
#!/usr/bin/env python
"""Script to check that all code in a directory compiles correctly.
Usage:
compile.py
This script verifies that all Python files in the directory where run, and all
of its subdirectories, compile correctly.
Before a release, call this script from the top-level directory.
"""
import sys
from toollib import compile_tree
if __name__ == '__main__':
compile_tree()