Skip the real-time udp echo test if real-time support not compiled in.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sun Feb 01 13:44:29 2009 +0000 (12 months ago)
changeset 413304d39d5b5e20
parent 4132 6f24531bb23e
child 4135 3e819441bc75
Skip the real-time udp echo test if real-time support not compiled in.
regression/tests/test-realtime-udp-echo.py
     1.1 --- a/regression/tests/test-realtime-udp-echo.py	Sat Jan 31 21:22:04 2009 +0000
     1.2 +++ b/regression/tests/test-realtime-udp-echo.py	Sun Feb 01 13:44:29 2009 +0000
     1.3 @@ -2,3 +2,6 @@
     1.4  
     1.5  """Generic trace-comparison-type regression test."""
     1.6  
     1.7 +def may_run(env, options):
     1.8 +    if not env["ENABLE_REAL_TIME"]:
     1.9 +        return "Real-time support not available"