author | Josh Pelkey <jpelkey@gatech.edu> |
Wed, 19 Jan 2011 16:23:13 -0500 | |
changeset 6807 | 82daf3da652a |
parent 6619 | c6e03f378655 |
child 6883 | ec325f025373 |
permissions | -rw-r--r-- |
4772
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
1 |
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
2 |
|
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
3 |
def configure(conf): |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
4 |
pass |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
5 |
|
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
6 |
def build(bld): |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
7 |
ns3tcp = bld.create_ns3_module('ns3tcp') |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
8 |
headers = bld.new_task_gen('ns3header') |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
9 |
headers.module = 'ns3tcp' |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
10 |
headers.source = [ |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
11 |
'ns3tcp.h', |
7b6ae6bf0055
add test and validation framework
Craig Dowell <craigdo@ee.washington.edu>
parents:
diff
changeset
|
12 |
] |
6190
06790e0ea865
Factor out socket writer application from tcp test suites
Tom Henderson <tomh@tomh.org>
parents:
5978
diff
changeset
|
13 |
ns3tcp.source = [ |
06790e0ea865
Factor out socket writer application from tcp test suites
Tom Henderson <tomh@tomh.org>
parents:
5978
diff
changeset
|
14 |
'ns3tcp-socket-writer.cc', |
6619
c6e03f378655
Fixed problems due to missing NSC.
Mitch Watrous <watrous@u.washington.edu>
parents:
6288
diff
changeset
|
15 |
'ns3tcp-socket-test-suite.cc', |
6191
5cde5bcbc902
Add loss-based tcp test suite
Tom Henderson <tomh@tomh.org>
parents:
6190
diff
changeset
|
16 |
'ns3tcp-loss-test-suite.cc', |
6807
82daf3da652a
Move tcp-testcases to actual test suite
Josh Pelkey <jpelkey@gatech.edu>
parents:
6619
diff
changeset
|
17 |
'ns3tcp-state-test-suite.cc', |
6190
06790e0ea865
Factor out socket writer application from tcp test suites
Tom Henderson <tomh@tomh.org>
parents:
5978
diff
changeset
|
18 |
] |
5345
8055fc27a841
avoid crash when nsc is not present
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
parents:
4772
diff
changeset
|
19 |
if bld.env['NSC_ENABLED']: |
6190
06790e0ea865
Factor out socket writer application from tcp test suites
Tom Henderson <tomh@tomh.org>
parents:
5978
diff
changeset
|
20 |
ns3tcp.source.append ('ns3tcp-interop-test-suite.cc') |
06790e0ea865
Factor out socket writer application from tcp test suites
Tom Henderson <tomh@tomh.org>
parents:
5978
diff
changeset
|
21 |
ns3tcp.source.append ('ns3tcp-cwnd-test-suite.cc') |