You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
535 B
Python
23 lines
535 B
Python
#!/usr/bin/python3
|
|
|
|
import os,sys,math
|
|
from build.amsbuildlib4 import *
|
|
|
|
if(len(sys.argv)>=2):
|
|
if(sys.argv[1]=="clean"):
|
|
obj_list = flist('./build_linux64',recurse=True,exts=['.o'])
|
|
for o in obj_list:
|
|
os.remove('{}'.format(o))
|
|
exit()
|
|
|
|
os.system('python3 ./build/make.linux64.so.py')
|
|
os.system('python3 ./build/make.linux64.test.py')
|
|
|
|
obj_list = flist('./src',recurse=True,exts=['.o'])
|
|
for o in obj_list:
|
|
os.remove('{}'.format(o))
|
|
|
|
os.chdir('./build_linux64')
|
|
callproc('./tests')
|
|
os.chdir('..')
|