Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b026f10

Browse files
committed
[ci]: Update make_test_base to reorder pg_pathman extension
1 parent 58910ca commit b026f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/make_test_base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if exitcode:
2727
sys.exit(exitcode)
2828
# Collect extra config option
2929
addopts={}
30-
for module in glob.glob("contrib/*"):
30+
for module in sorted(glob.glob("contrib/*"), cmp = lambda a,b: 1 if a=="pg_pathman" else -1):
3131
if not os.path.isdir(module):
3232
continue
3333
if not os.access(module+"/Makefile",os.R_OK):
@@ -56,7 +56,7 @@ for module in glob.glob("contrib/*"):
5656
else:
5757
addopts[opt]=value
5858

59-
if addopts:
59+
if addopts:
6060
with open(datadir+"/postgresql.conf","a") as f:
6161
for opt,value in addopts.items():
6262
print >> f,"%s=%s"%(opt,value)

0 commit comments

Comments
 (0)