Skip the NSC-based regression test on non-linux platforms
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Fri, 30 Jan 2009 19:28:00 +0000
changeset 4131 71260995880e
parent 4130 9bddd87225a9
child 4132 6f24531bb23e
child 4134 a104b592cba3
Skip the NSC-based regression test on non-linux platforms
regression/tests/test-tcp-nsc-lfn.py
--- a/regression/tests/test-tcp-nsc-lfn.py	Wed Jan 28 11:06:50 2009 +0000
+++ b/regression/tests/test-tcp-nsc-lfn.py	Fri Jan 30 19:28:00 2009 +0000
@@ -3,7 +3,7 @@
 """Trace-comparison-type regression test for the Network Simulation Cradle."""
 
 import platform
-
+import sys
 
 def may_run(env, options):
     if not env['NSC_ENABLED']:
@@ -11,6 +11,8 @@
     else:
         if options.valgrind:
             return "NSC does not get along with valgrind"
+        if sys.platform != 'linux2':
+            return "NSC is not well supported on non-Linux platforms"
         return 0