-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcleanAll.py
More file actions
31 lines (23 loc) · 773 Bytes
/
cleanAll.py
File metadata and controls
31 lines (23 loc) · 773 Bytes
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
import sys
sys.path.append('scripts')
import os
from timedprocess import Command
def main():
current_dir = os.getcwd()
# Build general testcase
Command("python clean.py".format()).run()
# Build allocation testcases
os.chdir(os.path.join(current_dir, "tests/alloc_tests"))
Command("python clean.py".format()).run()
# Build fragmentation testcases
os.chdir(os.path.join(current_dir, "tests/frag_tests"))
Command("python clean.py".format()).run()
# Build graph testcases
os.chdir(os.path.join(current_dir, "tests/graph_tests"))
Command("python clean.py".format()).run()
# Build synthetic testcases
os.chdir(os.path.join(current_dir, "tests/synth_tests"))
Command("python clean.py".format()).run()
print("Setup done!")
if __name__ == "__main__":
main()