Home | History | Annotate | Download | only in ExampleTests.ObjDir
      1 # -*- Python -*-
      2 
      3 # Site specific configuration file.
      4 #
      5 # Typically this will be generated by the build system to automatically set
      6 # certain configuration variables which cannot be autodetected, so that 'lit'
      7 # can easily be used on the command line.
      8 
      9 import os
     10 
     11 # Preserve the obj_root, for use by the main lit.cfg.
     12 config.example_obj_root = os.path.dirname(__file__)
     13 
     14 lit.load_config(config, os.path.join(config.test_source_root,
     15                                      'lit.cfg'))
     16