blob: f7efad78141ddd0f27ad4a2bbfefa8d8b567e8ea [file] [log] [blame]
Kazuhiro Inabaf0208222020-03-05 10:33:07 +09001# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5"""Module for build_lib unittests."""
6
7import unittest
8
9import build_lib
10
11
12class BuildLibTestCase(unittest.TestCase):
13
14 def testReshapeBoard(self):
15 self.assertEqual(build_lib.reshape_board('samus-kernelnext'), 'samus')
16 self.assertEqual(build_lib.reshape_board('eve-arcvm'), 'eve')
17 self.assertEqual(build_lib.reshape_board('kukui-arc-r'), 'kukui')
18 self.assertEqual(build_lib.reshape_board('octopus'), 'octopus')
19
20if __name__ == '__main__':
21 unittest.main()