1 # SPDX-License-Identifier: Apache-2.0 2 # 3 # Copyright (C) 2015, ARM Limited and contributors. 4 # 5 # Licensed under the Apache License, Version 2.0 (the "License"); you may 6 # not use this file except in compliance with the License. 7 # You may obtain a copy of the License at 8 # 9 # http://www.apache.org/licenses/LICENSE-2.0 10 # 11 # Unless required by applicable law or agreed to in writing, software 12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 # See the License for the specific language governing permissions and 15 # limitations under the License. 16 # 17 18 import logging 19 import os 20 21 from test import LisaTest 22 23 TESTS_DIRECTORY = os.path.dirname(os.path.realpath(__file__)) 24 TESTS_CONF = os.path.join(TESTS_DIRECTORY, "smoke_test.config") 25 26 class SFreq(LisaTest): 27 """Tests for SchedFreq framework""" 28 29 test_conf = TESTS_CONF 30 experiments_conf = TESTS_CONF 31 32 @classmethod 33 def setUpClass(cls, *args, **kwargs): 34 super(SFreq, cls).runExperiments(*args, **kwargs) 35 36 def test_regression(self): 37 """Check that there is not regression on energy""" 38 # TODO 39 40 # vim :set tabstop=4 shiftwidth=4 expandtab 41