aboutsummaryrefslogtreecommitdiff
path: root/verif/tests/tosa_dummy_sut_run.py
blob: 344aa2d22e949148b2cbaa52222a6466238bfbe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""TOSA test runner module for a dummy System Under Test (SUT)."""
# Copyright (c) 2021, ARM Limited.
# SPDX-License-Identifier: Apache-2.0
from runner.tosa_test_runner import TosaTestRunner


class TosaSUTRunner(TosaTestRunner):
    """TOSA dummy SUT runner."""

    def __init__(self, args, runnerArgs, testDirPath):
        """Initialize using the given test details."""
        super().__init__(args, runnerArgs, testDirPath)

    def runTestGraph(self):
        """Nothing run as this is a dummy SUT that does nothing."""
        graphResult = TosaTestRunner.TosaGraphResult.TOSA_VALID
        graphMessage = "Dummy system under test - nothing run"

        # Return graph result and message
        return graphResult, graphMessage