Пример #1
0
	def __init__(self, command):
		Test.__init__(self)
		self.command = command
		self.env = {}

		if isinstance(self.command, basestring):
			self.command = shlex.split(str(self.command))
Пример #2
0
    def __init__(self, command):
        Test.__init__(self)
        self.command = command
        self.env = {}

        if isinstance(self.command, basestring):
            self.command = shlex.split(str(self.command))
Пример #3
0
	def __init__(self, filepath, runConcurrent = True):
		"""
		:filepath: Must end in one '.vert', '.geom', or '.frag'.
		"""
		Test.__init__(self, runConcurrent)
		self.__config = None
		self.__command = None
		self.__filepath = filepath
		self.result = None
Пример #4
0
	def __init__(self, filepath, runConcurrent = True):
		"""
		:filepath: Must end in one '.vert', '.geom', or '.frag'.
		"""
		Test.__init__(self, runConcurrent)
		self.__config = None
		self.__command = None
		self.__filepath = filepath
		self.result = None
Пример #5
0
    def __init__(self, command):
        Test.__init__(self)
        self.command = command
        self.split_command = os.path.split(self.command[0])[1]
        self.env = {}

        if isinstance(self.command, basestring):
            self.command = shlex.split(str(self.command))

        self.skip_test = self.check_for_skip_scenario(command)
Пример #6
0
    def __init__(self, command):
        Test.__init__(self)
        self.command = command
        self.split_command = os.path.split(self.command[0])[1]
        self.env = {}

        if isinstance(self.command, basestring):
            self.command = shlex.split(str(self.command))

        self.skip_test = self.check_for_skip_scenario(command)
Пример #7
0
    def __init__(self, shader_runner_args, run_standalone=False):
        """run_standalone: Run the test outside the Python framework."""

        Test.__init__(self, runConcurrent=True)

        assert(isinstance(shader_runner_args, list))
        assert(isinstance(shader_runner_args[0], str) or \
               isinstance(shader_runner_args[0], unicode))

        self.__run_standalone = run_standalone
        self.__shader_runner_args = shader_runner_args
        self.__test_filepath = shader_runner_args[0]
        self.__result = None
        self.__command = None
        self.__gl_api = None

        self.env = {}
Пример #8
0
    def __init__(self, shader_runner_args, run_standalone=False):
        """run_standalone: Run the test outside the Python framework."""

        Test.__init__(self, runConcurrent=True)

        assert (isinstance(shader_runner_args, list))
        assert (isinstance(shader_runner_args[0], str)
                or isinstance(shader_runner_args[0], unicode))

        self.__run_standalone = run_standalone
        self.__shader_runner_args = shader_runner_args
        self.__test_filepath = shader_runner_args[0]
        self.__result = None
        self.__command = None
        self.__gl_api = None

        self.env = {}