File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ def install_env():
5959 setenv ('CALIBRE_QT_PREFIX' , '$SW/qt' )
6060
6161
62- def run (* args ):
62+ def run (* args , timeout = 600 ):
6363 if len (args ) == 1 :
6464 args = shlex .split (args [0 ])
6565 print (' ' .join (args ), flush = True )
6666 p = subprocess .Popen (args )
6767 try :
68- ret = p .wait (timeout = 600 )
68+ ret = p .wait (timeout = timeout )
6969 except subprocess .TimeoutExpired as err :
7070 ret = 1
7171 print (err , file = sys .stderr , flush = True )
@@ -164,7 +164,7 @@ def main():
164164 install_env ()
165165 get_tx ()
166166 os .environ ['TX' ] = os .path .abspath ('tx' )
167- run (sys .executable , 'setup.py' , 'pot' )
167+ run (sys .executable , 'setup.py' , 'pot' , timeout = 30 * 60 )
168168 elif action == 'test' :
169169 os .environ ['CI' ] = 'true'
170170 os .environ ['OPENSSL_MODULES' ] = os .path .join (SW , 'lib' , 'ossl-modules' )
You can’t perform that action at this time.
0 commit comments