LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ns3-3.17-tests.patch of Package ns3 (Project home:RedDwarf)

Index: test.py
===================================================================
--- test.py.orig
+++ test.py
@@ -164,7 +164,7 @@ def parse_examples_to_run_file(
 
             # Add the proper prefix and suffix to the example name to
             # match what is done in the wscript file.
-            example_name = "%s%s-%s-%s" % (APPNAME, VERSION, example_name, BUILD_PROFILE)
+            example_name = "%s%s-%s" % (APPNAME, VERSION, example_name)
 
             # Set the full path for the example.
             example_path = os.path.join(cpp_executable_dir, example_name)
@@ -1002,7 +1002,7 @@ def run_tests():
     # Add the proper prefix and suffix to the test-runner name to
     # match what is done in the wscript file.
     #
-    test_runner_name = "%s%s-%s-%s" % (APPNAME, VERSION, "test-runner", BUILD_PROFILE)
+    test_runner_name = "%s%s-%s" % (APPNAME, VERSION, "test-runner")
 
     #
     # Run waf to make sure that everything is built, configured and ready to go
Index: src/test/wscript
===================================================================
--- src/test/wscript.orig
+++ src/test/wscript
@@ -16,6 +16,7 @@ def build(bld):
         return
 
     test = bld.create_ns3_module('test', ['internet', 'mobility', 'applications', 'csma', 'bridge', 'config-store', 'tools', 'point-to-point', 'csma-layout', 'flow-monitor', 'wifi'])
+    test.install_path = None
     headers = bld(features='ns3header')
     headers.module = 'test'
 
@@ -27,13 +28,10 @@ def build(bld):
         'mobility-test-suite.cc',
         'ns3wifi/wifi-interference-test-suite.cc',
         'ns3wifi/wifi-msdu-aggregator-test-suite.cc',
-        'ns3tcp/ns3tcp-cwnd-test-suite.cc',
-        'ns3tcp/ns3tcp-interop-test-suite.cc',
         'ns3tcp/ns3tcp-loss-test-suite.cc',
         'ns3tcp/ns3tcp-no-delay-test-suite.cc',
         'ns3tcp/ns3tcp-socket-test-suite.cc',
         'ns3tcp/ns3tcp-state-test-suite.cc',
-        'ns3tcp/nsctcp-loss-test-suite.cc',
         'ns3tcp/ns3tcp-socket-writer.cc',
         ]
 
Index: src/wscript
===================================================================
--- src/wscript.orig
+++ src/wscript
@@ -150,6 +150,7 @@ def create_ns3_module_test_library(bld,
     library_name = name + "-test"
     library = bld.create_ns3_module(library_name, [name], test=True)
     library.features += " ns3testlib"
+    library.install_path = None
 
     # Modify attributes for the test library that are different from a
     # normal module.