Exemple #1
0
 def getValidParams():
   params = RunApp.getValidParams()
   params.addParam('check_files', [], "A list of files that MUST exist.")
   params.addParam('check_not_exists', [], "A list of files that must NOT exist.")
   params.addParam('delete_output_before_running',  True, "Delete pre-existing output files before running test. Only set to False if you know what you're doing!")
   params.addParam('file_expect_out', "A regular expression that must occur in all of the check files in order for the test to be considered passing.")
   return params
Exemple #2
0
  def getValidParams():
    params = RunApp.getValidParams()

    params.addParam('expect_err', "A regular expression that must occur in the ouput. (Test may terminiate unexpectedly and be considered passing)")
    params.addParam('expect_assert', "DEBUG MODE ONLY: A regular expression that must occur in the ouput. (Test may terminiate unexpectedly and be considered passing)")
    params.addParam('should_crash', True, "Inidicates that the test is expected to crash or otherwise terminate early")

    return params
Exemple #3
0
  def getValidParams():
    params = RunApp.getValidParams()
    params.addRequiredParam('vtkdiff',   [], "A list of files to exodiff.")
    params.addParam('gold_dir',      'gold', "The directory where the \"golden standard\" files reside relative to the TEST_DIR: (default: ./gold/)")
    params.addParam('abs_zero',       1e-10, "Absolute zero cutoff used in exodiff comparisons.")
    params.addParam('rel_err',       5.5e-6, "Relative error value used in exodiff comparisons.")
    params.addParam('delete_output_before_running',  True, "Delete pre-existing output files before running test. Only set to False if you know what you're doing!")

    return params
    def getValidParams():
        params = RunApp.getValidParams()
        params.addParam('ratio_tol', 1e-8,
                        "Relative tolerance to compare the ration against.")
        params.addParam(
            'difference_tol', 1e-8,
            "Relative tolerance to compare the difference against.")

        return params
Exemple #5
0
  def getValidParams():
    params = RunApp.getValidParams()
    params.addRequiredParam('exodiff',   [], "A list of files to exodiff.")
    params.addParam('exodiff_opts',      [], "Additional arguments to be passed to invocations of exodiff.")
    params.addParam('gold_dir',      'gold', "The directory where the \"golden standard\" files reside relative to the TEST_DIR: (default: ./gold/)")
    params.addParam('abs_zero',       1e-10, "Absolute zero cutoff used in exodiff comparisons.")
    params.addParam('rel_err',       5.5e-6, "Relative error value used in exodiff comparisons.")
    params.addParam('custom_cmp',            "Custom comparison file")
    params.addParam('use_old_floor',  False, "Use Exodiff old floor option")
    params.addParam('delete_output_before_running',  True, "Delete pre-existing output files before running test. Only set to False if you know what you're doing!")

    return params
Exemple #6
0
 def getValidParams():
     params = RunApp.getValidParams()
     params.addParam('check_files', [], "A list of files that MUST exist.")
     params.addParam('check_not_exists', [],
                     "A list of files that must NOT exist.")
     params.addParam(
         'delete_output_before_running', True,
         "Delete pre-existing output files before running test. Only set to False if you know what you're doing!"
     )
     params.addParam(
         'file_expect_out',
         "A regular expression that must occur in all of the check files in order for the test to be considered passing."
     )
     return params
Exemple #7
0
    def getValidParams():
        params = RunApp.getValidParams()
        params.addRequiredParam('vtkdiff', [], "A list of files to exodiff.")
        params.addParam(
            'gold_dir', 'gold',
            "The directory where the \"golden standard\" files reside relative to the TEST_DIR: (default: ./gold/)"
        )
        params.addParam('abs_zero', 1e-10,
                        "Absolute zero cutoff used in exodiff comparisons.")
        params.addParam('rel_err', 5.5e-6,
                        "Relative error value used in exodiff comparisons.")
        params.addParam(
            'delete_output_before_running', True,
            "Delete pre-existing output files before running test. Only set to False if you know what you're doing!"
        )

        return params
Exemple #8
0
    def getValidParams():
        params = RunApp.getValidParams()
        params.addRequiredParam('exodiff', [], "A list of files to exodiff.")
        params.addParam(
            'exodiff_opts', [],
            "Additional arguments to be passed to invocations of exodiff.")
        params.addParam(
            'gold_dir', 'gold',
            "The directory where the \"golden standard\" files reside relative to the TEST_DIR: (default: ./gold/)"
        )
        params.addParam('abs_zero', 1e-10,
                        "Absolute zero cutoff used in exodiff comparisons.")
        params.addParam('rel_err', 5.5e-6,
                        "Relative error value used in exodiff comparisons.")
        params.addParam('custom_cmp', "Custom comparison file")
        params.addParam('use_old_floor', False, "Use Exodiff old floor option")
        params.addParam(
            'delete_output_before_running', True,
            "Delete pre-existing output files before running test. Only set to False if you know what you're doing!"
        )

        return params
Exemple #9
0
  def getValidParams():
    params = RunApp.getValidParams()
    params.addParam('ratio_tol', 1e-8, "Relative tolerance to compare the ration against.")
    params.addParam('difference_tol', 1e-8, "Relative tolerance to compare the difference against.")

    return params