Files
unison/regression/tests/test-csma-bridge.py
2009-01-28 11:06:50 +00:00

15 lines
380 B
Python

#! /usr/bin/env python
"""Generic trace-comparison-type regression test."""
import os.path
def may_run(env, options):
"""Returns 0 when it can run, return non-zero or string (reason) when it cannot run"""
if env['ENABLE_PYTHON_BINDINGS']:
return 0
else:
return "Python bindings not available."
pyscript = os.path.join('examples', 'csma-bridge.py')