7 |
print "Run './test.py speciesname' or ./test.py testname' to run test code." |
print "Run './test.py speciesname' or ./test.py testname' to run test code." |
8 |
exit(1) |
exit(1) |
9 |
|
|
10 |
dirn = 'test' |
dirn = 'fluids' |
11 |
src = "%s/%s.c"%(dirn,name) |
src = "%s/%s.c" %(dirn,name) |
12 |
if not os.path.exists(src): |
if not os.path.exists(src): |
13 |
dirn = 'fluids' |
print "No file named '%s.c' found in '%s' directory" % (name,dirn) |
14 |
src = "%s/%s.c" %(dirn,name) |
exit(1) |
|
if not os.path.exists(src): |
|
|
print "No file named '%s.c' found in 'test' or 'fluids' directory" % name |
|
|
exit(1) |
|
15 |
|
|
16 |
CC = "gcc" |
CC = "gcc" |
17 |
if os.environ.get('HOST_PREFIX'): |
if os.environ.get('HOST_PREFIX'): |