Skip to content

Commit f0ecc38

Browse files
committed
[ci]: Update make_test_base to check length of extension list
1 parent 67b1919 commit f0ecc38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.ci/make_test_base

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ def prepare_extlist(value):
1919
if "pg_pathman" in l:
2020
# remove duplicates and reorder extension list to move pg_pathman to tail
2121
nl = sorted(list(set(l)), cmp = lambda a,b: 1 if a=="pg_pathman" else -1)
22-
new_value = "'{}'".format(",".join(nl))
22+
if len(nl) > 0:
23+
new_value = "'{}'".format(",".join(nl))
24+
else:
25+
new_value = "''"
2326
return new_value
2427
else:
2528
return value

0 commit comments

Comments
 (0)