| #! /bin/bash |
| |
| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| set -e |
| |
| # Compile the test .dts files. |
| args="-I dts -O dtb -Wno-unit_address_vs_reg " |
| dtc ${args} -o test.dtb libcros_config/test.dts |
| dtc ${args} -o test_bad_struct.dtb libcros_config/test_bad_struct.dts |
| dtc ${args} -o test_bad_default.dtb libcros_config/test_bad_default.dts |
| |
| # Copy the json test config locally |
| cp libcros_config/test.json test.json |
| cp libcros_config/test_arm.json test_arm.json |