File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 55import sys , re
66import os
77
8+ TIMEOUT_COMMAND = "./walltime_killer.py"
9+ TIMEOUT = "1200" # needs to be refactored!
10+
811
912class SMTCompTool (BaseTool2 ): # type: ignore
1013 """
@@ -87,13 +90,13 @@ def cmdline( # type: ignore
8790
8891 if options :
8992 # executable and options were overridden by the task definition
90- return [* options , * tasks ]
93+ return [TIMEOUT_COMMAND , TIMEOUT , * options , * tasks ]
9194 else :
9295 # using default executable
93- return [executable , * tasks ]
96+ return [TIMEOUT_COMMAND , TIMEOUT , executable , * tasks ]
9497
9598 def program_files (self , executable : str ) -> Any :
96- files = [executable ] + self ._program_files_from_executable (executable , self .REQUIRED_PATHS )
99+ files = [TIMEOUT_COMMAND , executable ] + self ._program_files_from_executable (executable , self .REQUIRED_PATHS )
97100 return files
98101
99102 @staticmethod
You can’t perform that action at this time.
0 commit comments