(self, suite_path)
Changes the cwd to to path defined in the current graph.

    The benchmarks are supposed to be relative to the suite configuration.
Changes the cwd to to path defined in the current graph.
Changes the cwd to to path defined in the current graph .
def ChangeCWD(self, suite_path):
    """Changes the cwd to to path defined in the current graph.

    The benchmarks are supposed to be relative to the suite configuration.
    """
    suite_dir = os.path.abspath(os.path.dirname(suite_path))
    bench_dir = os.path.normpath(os.path.join(*self.path))
    os.chdir(os.path.join(suite_dir, bench_dir))
def ChangeCWD ( self , suite_path ) : suite_dir = os . path . abspath ( os . path . dirname ( suite_path ) ) bench_dir = os . path . normpath ( os . path . join ( * self . path ) ) os . chdir ( os . path . join ( suite_dir , bench_dir ) )