forked from StanfordSNR/pantheon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add analysis/tests and test all quick tests/ in travis
All quick tests don't test QUIC
- Loading branch information
1 parent
3e5d565
commit ce7be9c
Showing
8 changed files
with
50 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import sys | ||
import os | ||
from os import path | ||
DIR = path.abspath(path.join(path.dirname(path.abspath(__file__)), | ||
os.pardir, os.pardir)) | ||
sys.path.append(DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env python | ||
|
||
from os import path | ||
import project_root | ||
from helpers.helpers import check_call | ||
|
||
|
||
def main(): | ||
curr_dir = path.abspath(path.dirname(__file__)) | ||
data_dir = path.join(curr_dir, 'data') | ||
|
||
test_py = path.join(project_root.DIR, 'test', 'test.py') | ||
analyze_py = path.join(project_root.DIR, 'analysis', 'analyze.py') | ||
|
||
cmd = ['python', test_py, 'local', '--schemes', | ||
'default_tcp vegas ledbat pcc verus sprout webrtc' | ||
' scream copa taova koho_cc calibrated_koho saturator', | ||
'-t', '10', '--data-dir', data_dir, '--pkill-cleanup'] | ||
assert call(cmd) == 0 | ||
|
||
cmd = ['python', analyze_py, '--data-dir', data_dir] | ||
assert call(cmd) == 0 | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters