Skip to content
  • Johnny Chen's avatar
    Added "float" and "double" to types/TestBasicTypes.py. Abstracted the generic · 6316021b
    Johnny Chen authored
    type tester method into its own abstarct base class 'AbstractBase'.  And
    added TestIntegerTypes.py and TestFloatTypes.py.
    
    Added an option "-p reg-exp-pattern" to the test driver to specify a regular
    expression pattern to match against eligible filenames as our test cases.
    
    An example: 
    
    /Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -p "TestFloat.*" types
    ----------------------------------------------------------------------
    Collected 4 tests
    
    test_double_type_with_dsym (TestFloatTypes.FloatTypesTestCase)
    Test that double-type variables are displayed correctly. ... ok
    test_double_type_with_dwarf (TestFloatTypes.FloatTypesTestCase)
    Test that double-type variables are displayed correctly. ... ok
    test_float_type_with_dwarf (TestFloatTypes.FloatTypesTestCase)
    Test that float-type variables are displayed correctly. ... ok
    test_float_types_with_dsym (TestFloatTypes.FloatTypesTestCase)
    Test that float-type variables are displayed correctly. ... ok
    
    ----------------------------------------------------------------------
    Ran 4 tests in 5.592s
    
    OK
    
    llvm-svn: 114923
    6316021b
Loading