-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloader.py
72 lines (69 loc) · 1.84 KB
/
loader.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
#
# stub loader for cythonized modules
import op
import gop
import toptw
import mctoptw
import tdop
import profile
if __name__ == "__main__":
import sys
test = sys.argv[1]
argv = sys.argv[:1] + sys.argv[2:]
if test == "op":
op.traj_test(argv)
elif test == "op_i":
op.ind_test(argv)
elif test == "op_pr":
op.pr_test(argv)
elif test == "op_dpr":
op.dpr_test(argv)
elif test == "op_prof":
profile.traj_test(argv)
elif test == "op_pr_prof":
profile.pr_test(argv)
elif test == "gop":
gop.traj_test(argv)
elif test == "gop_i":
gop.ind_test(argv)
elif test == "gop_pr":
gop.pr_test(argv)
elif test == "gop_dpr":
gop.dpr_test(argv)
elif test == "gop_prof":
profile.gop_traj_test(argv)
elif test == "gop_pr_prof":
profile.gop_pr_test(argv)
elif test == "toptw":
toptw.traj_test(argv)
elif test == "toptw_i":
toptw.ind_test(argv)
elif test == "toptw_dpr":
toptw.dpr_test(argv)
elif test == "toptw_pr":
toptw.pr_test(argv)
elif test == "toptw_prof":
profile.toptw_traj_test(argv)
elif test == "toptw_pr_prof":
profile.toptw_pr_test(argv)
elif test == "mctoptw":
mctoptw.traj_test(argv)
elif test == "mctoptw_i":
mctoptw.ind_test(argv)
elif test == "mctoptw_pr":
mctoptw.pr_test(argv)
elif test == "mctoptw_dpr":
mctoptw.dpr_test(argv)
elif test == "tdop":
tdop.traj_test(argv)
elif test == "tdop_i":
tdop.ind_test(argv)
elif test == "tdop_pr":
tdop.pr_test(argv)
elif test == "tdop_dpr":
tdop.dpr_test(argv)
elif test == "tdop_prof":
profile.tdop_traj_test(argv)
elif test == "tdop_pr_prof":
profile.tdop_pr_test(argv)