code: def main(argv):
      """
      Main program.  Take user input, parse it and call other functions to execute the commands
      and find long running unit tests, store the dataset and parameter settings and move onto
      the next unit tests if applicable.
  
      @return: none
      """
      global g_test_root_dir
      global g_temp_filename
  
      if len(argv) < 2:
          print(
              "invoke this script as python collectUnitTestRunTime.py 10 'python run.py_path/run.py --wipe "
              "--test dir_to_test/test1,python run.py_path/run.py --wipe --test dir_to_test2/test2,...' True\n"
          )
          sys.exit(1)
      else:  # we may be in business
          repeat_number = int(
              argv[1]
          )  # number of times to run a unit test
          command_lists = argv[2]  # list of unit tests to run
  
          for command in command_lists.split(
              ","
          ):  # for each command in the list
              # run command repeat_number of times and collect results into result_dict
              run_commands(command, repeat_number, g_temp_filename)
  
imports: import sys
  import os
  import json
  import subprocess
  import time
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: main(argv) without return types