def METHOD_NAME():
  # -- Configure the argument parser
  parser = argparse.ArgumentParser(formatter_class=RawDescriptionHelpFormatter, description='description:\n  Unit test wrapper for the SoftKernel section')
  parser.add_argument('--resource-dir', nargs='?', default=".", help='directory containing data to be used by this unit test')
  args = parser.parse_args()
  # Validate that the resource directory is valid
  if not os.path.exists(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' does not exist")
  if not os.path.isdir(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' is not a directory")
  # Prepare for testing
  xclbinutil = "xclbinutil"
  # Start the tests
  print ("Starting test")
  # ---------------------------------------------------------------------------
  step = "1) Read in a soft kernel and its metadata"
  inputJSON = os.path.join(args.resource_dir, "softkernel.rtd")
  inputKernel = os.path.join(args.resource_dir, "dummySoftKernel.txt")
  softKernelName = "my_kernel"
  cmd = [xclbinutil, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-OBJ:RAW:" + inputKernel, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-METADATA:JSON:" + inputJSON]
  execCmd(step, cmd)
  # ---------------------------------------------------------------------------
  step = "2) Read in a soft kernel and its metadata where the symbol name is 1 character too long"
  inputJSON = os.path.join(args.resource_dir, "softkernel_longname.rtd")
  inputKernel = os.path.join(args.resource_dir, "dummySoftKernel.txt")
  softKernelName = "my_kernel"
  cmd = [xclbinutil, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-OBJ:RAW:" + inputKernel, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-METADATA:JSON:" + inputJSON]
  try:
    print("Note: Testing for an excessive symbol name length (expecting an error)")
    execCmd(step, cmd)
  except:
    print("Test passed - Exception raised")
  else:
    raise Exception("Error: Long symbol name accepted.  DRC check did not trip.")
  # ---------------------------------------------------------------------------
  step = "3) Read in a soft kernel and its metadata where the instances are greater then 128"
  inputJSON = os.path.join(args.resource_dir, "softkernel_129instances.rtd")
  inputKernel = os.path.join(args.resource_dir, "dummySoftKernel.txt")
  softKernelName = "my_kernel"
  cmd = [xclbinutil, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-OBJ:RAW:" + inputKernel, "--add-section", "SOFT_KERNEL[" + softKernelName + "]-METADATA:JSON:" + inputJSON]
  try:
    print("Note: Testing for an excessive instances (expecting an error)")
    execCmd(step, cmd)
  except:
    print("Test passed - Exception raised")
  else:
    raise Exception("Error: Large instance count accepted.  DRC check did not trip.")
  # ---------------------------------------------------------------------------
  # If the code gets this far, all is good.
  return False