Rosetta
Functions | Variables
self-test Namespace Reference

Functions

def execute (message, command_line, return_='status', until_successes=False, terminate_on_failure=True)
 
def get_test_files (dir_)
 
def remover_absolute_paths (source)
 
def run_test (test_path, build_dir)
 
def main ()
 
def execute (message, command_line, return_='status', until_successes=False, terminate_on_failure=True, silent=False)
 
def mfork ()
 
def test_name (test)
 
def json_file_name (test)
 
def run_test (test)
 
def main (args)
 

Variables

list _jobs_ = []
 
string _test_output_ = '.test.output/'
 

Function Documentation

◆ execute() [1/2]

def self-test.execute (   message,
  command_line,
  return_ = 'status',
  until_successes = False,
  terminate_on_failure = True 
)

◆ execute() [2/2]

def self-test.execute (   message,
  command_line,
  return_ = 'status',
  until_successes = False,
  terminate_on_failure = True,
  silent = False 
)

◆ get_test_files()

def self-test.get_test_files (   dir_)

Referenced by main().

◆ json_file_name()

def self-test.json_file_name (   test)

References test_name().

Referenced by main(), and run_test().

◆ main() [1/2]

def self-test.main ( )
 Binder tool self-test script 

References pyrosetta.tests.distributed.test_dask.format, get_test_files(), print(), and run_test().

Referenced by main().

◆ main() [2/2]

def self-test.main (   args)

◆ mfork()

def self-test.mfork ( )
 Check if number of child process is below Options.jobs. And if it is - fork the new pocees and return its pid.

References ObjexxFCL.len(), and print().

Referenced by main().

◆ remover_absolute_paths()

def self-test.remover_absolute_paths (   source)
 search and replace .cpp file and replace all occurrence with absolute file path with TEST

References basic::database.open(), and ObjexxFCL.read().

Referenced by run_test().

◆ run_test() [1/2]

def self-test.run_test (   test)

◆ run_test() [2/2]

def self-test.run_test (   test_path,
  build_dir 
)

◆ test_name()

def self-test.test_name (   test)

Variable Documentation

◆ _jobs_

list self-test._jobs_ = []
private

◆ _test_output_

string self-test._test_output_ = '.test.output/'
private