Functions | Variables
unit-test-config Namespace Reference

Functions

def debug (args)
 
def error (args)
 
def filesin (root)
 
def find (dir, mask)
 
def find_includes (filepath)
 
def generate_cmake (builddir, testdir, testname, filelist)
 
def grep (expr, args)
 
def grep_ (pattern, lines, context)
 
def process_cpp (dir, builddir)
 
def process_py (dir, builddir)
 
def remove_newlines (lines)
 

Variables

 builddir = sys.argv[2]
 
string cmakefile = builddir+'/CMakeLists.txt'
 
 dir = sys.argv[1]
 
 handle = open( cmakefile, 'w' );
 
bool have_errors = False
 
 librealsense = os.path.dirname(os.path.dirname(os.path.abspath(__file__))).replace('\\', '/')
 
 n
 
int n_tests = 0
 
 name = os.path.basename( os.path.realpath( dir ))
 
list normal_tests = []
 
 ourname = os.path.basename(sys.argv[0])
 
 sh
 
list shared_tests = []
 
string src = librealsense+'/src'
 
 st
 
list static_tests = []
 

Function Documentation

def unit-test-config.debug (   args)

Definition at line 36 of file unit-test-config.py.

def unit-test-config.error (   args)

Definition at line 39 of file unit-test-config.py.

def unit-test-config.filesin (   root)

Definition at line 43 of file unit-test-config.py.

def unit-test-config.find (   dir,
  mask 
)

Definition at line 49 of file unit-test-config.py.

def unit-test-config.find_includes (   filepath)

Definition at line 126 of file unit-test-config.py.

def unit-test-config.generate_cmake (   builddir,
  testdir,
  testname,
  filelist 
)

Definition at line 94 of file unit-test-config.py.

def unit-test-config.grep (   expr,
  args 
)

Definition at line 81 of file unit-test-config.py.

def unit-test-config.grep_ (   pattern,
  lines,
  context 
)

Definition at line 63 of file unit-test-config.py.

def unit-test-config.process_cpp (   dir,
  builddir 
)

Definition at line 141 of file unit-test-config.py.

def unit-test-config.process_py (   dir,
  builddir 
)

Definition at line 210 of file unit-test-config.py.

def unit-test-config.remove_newlines (   lines)

Definition at line 57 of file unit-test-config.py.

Variable Documentation

unit-test-config.builddir = sys.argv[2]

Definition at line 26 of file unit-test-config.py.

string unit-test-config.cmakefile = builddir+'/CMakeLists.txt'

Definition at line 226 of file unit-test-config.py.

unit-test-config.dir = sys.argv[1]

Definition at line 25 of file unit-test-config.py.

unit-test-config.handle = open( cmakefile, 'w' );

Definition at line 230 of file unit-test-config.py.

bool unit-test-config.have_errors = False

Definition at line 34 of file unit-test-config.py.

unit-test-config.librealsense = os.path.dirname(os.path.dirname(os.path.abspath(__file__))).replace('\\', '/')

Definition at line 91 of file unit-test-config.py.

unit-test-config.n

Definition at line 217 of file unit-test-config.py.

int unit-test-config.n_tests = 0

Definition at line 245 of file unit-test-config.py.

unit-test-config.name = os.path.basename( os.path.realpath( dir ))

Definition at line 227 of file unit-test-config.py.

list unit-test-config.normal_tests = []

Definition at line 214 of file unit-test-config.py.

unit-test-config.ourname = os.path.basename(sys.argv[0])

Definition at line 21 of file unit-test-config.py.

unit-test-config.sh

Definition at line 217 of file unit-test-config.py.

list unit-test-config.shared_tests = []

Definition at line 215 of file unit-test-config.py.

string unit-test-config.src = librealsense+'/src'

Definition at line 92 of file unit-test-config.py.

unit-test-config.st

Definition at line 217 of file unit-test-config.py.

list unit-test-config.static_tests = []

Definition at line 216 of file unit-test-config.py.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43